[whatwg] Comments on the definition of a valid e-mail address
tkent at chromium.org
Mon Aug 24 18:45:57 PDT 2009
I was in Gmail team and wrote the email address validation code which we are
Gmail's validation rules are:
- require "@"
- local-part should be
- quoted-string without CFWS and FWS, or
- 1*(atext / ".") This means dot-atom-text without "." restriction.
This looseness was introduced for Japanese cell phone addresses.
- domain-part should be [a-zA-Z0-9]+(\.[a-zA-Z0-9]+)+
It requires at least 1 dot. The last non-dot sequence should have at
least 2 characters.
I have never heard requests to support for non-ASCII characters other than
Software Engineer, Google
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the whatwg