Open
Description
Package version eg. v8, v9:
Master
Code sample, to showcase or reproduce:
fmt.Println(emailRegex.MatchString(`"\"@example.com`))
Produces true
, it should produce false
.
The fault is a missing \\\\
to match a backspace in the subexpression covering quoted-pair
, as a result although the quoted-string
should require \
and "
to be quoted, both are accepted even without escaping.