Skip to content

Commit 83f8306

Browse files
committed
quoted part can be empty
1 parent 38b12ac commit 83f8306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/Email/Address.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ my $dot_atom = qr/$cfws*$dot_atom_text$cfws*/;
5151

5252
my $qtext = qr/[^\\"]/;
5353
my $qcontent = qr/$qtext|$quoted_pair/;
54-
my $quoted_string = qr/$cfws*"$qcontent+"$cfws*/;
54+
my $quoted_string = qr/$cfws*"$qcontent*"$cfws*/;
5555

5656
my $word = qr/$atom|$quoted_string/;
5757

0 commit comments

Comments
 (0)