Skip to content

Commit 6842637

Browse files
committed
email: fix some formatting
1 parent 85e5bba commit 6842637

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lpeg_patterns/email.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ local S = lpeg.S
88
local V = lpeg.V
99
local C = lpeg.C
1010
local Cg = lpeg.Cg
11-
local Ct = lpeg.Ct
1211
local Cs = lpeg.Cs
12+
local Ct = lpeg.Ct
1313

1414
local core = require "lpeg_patterns.core"
1515
local CHAR = core.CHAR
@@ -59,16 +59,16 @@ local obs_dtext = obs_NO_WS_CTL + quoted_pair
5959
local dtext = R("\33\90", "\94\126") + obs_dtext
6060
local domain_literal_text = P"[" * Cs((FWS^-1 * dtext)^0 * FWS^-1) * P"]"
6161

62-
local domain_text = dot_atom_text + domain_literal_text
62+
local domain_text = dot_atom_text + domain_literal_text
6363
local local_part_text = dot_atom_text + quoted_string_text
64-
local addr_spec_text = local_part_text * P"@" * domain_text
64+
local addr_spec_text = local_part_text * P"@" * domain_text
6565

6666
local domain_literal = CFWS^-1 * domain_literal_text * CFWS^-1
6767
local obs_domain = Ct(atom * (C"." * atom)^0) / table.concat
6868
local domain = obs_domain + dot_atom + domain_literal
6969
local obs_local_part = Ct(word * (C"." * word)^0) / table.concat
7070
local local_part = obs_local_part + dot_atom + quoted_string
71-
local addr_spec = local_part * P"@" * domain
71+
local addr_spec = local_part * P"@" * domain
7272

7373
local display_name = phrase
7474
local obs_domain_list = (CFWS + P",")^0 * P"@" * domain

0 commit comments

Comments
 (0)