manishsaraan / email-validator

email syntax validator npm module. fast and pretty robust
The Unlicense
436 stars 80 forks source link

"John..Doe"@example.com return false #81

Open daysv opened 6 months ago

daysv commented 6 months ago

If quoted, it may contain Space, Horizontal Tab (HT), any ASCII graphic except Backslash and Quote and a quoted-pair consisting of a Backslash followed by HT, Space or any ASCII graphic; it may also be split between lines anywhere that HT or Space appears. In contrast to unquoted local-parts, the addresses ".John.Doe"@example.com, "John.Doe."@example.com and "John..Doe"@example.com are allowed.

https://en.wikipedia.org/wiki/Email_address

KhashayarKhm commented 3 weeks ago

I rather to be "false" than "true" because the Gmail email validator disallow you to set dots back to back