http://www.whatwg.org/specs/web-apps/current-work/#e-mail-state
A valid e-mail address is a string that matches the production
dot-atom-text "@" dot-atom-text
where dot-atom-text is defined in RFC 5322 section 3.2.3. [RFC5322]<http://www.whatwg.org/specs/web-apps/current-work/#refsRFC5322>

I'd like stricter rule for it. e.g.
dot-atom-text "@" 1*(ALPHA / DIGIT) 1*("." 1*(ALPHA / DIGIT))

I understand the current production, dot-atom-text "@" dot-atom-text, is a
subset of addr-spec of RFC 5322.  However dot-atom-text for the domain-part
is not practical.  The production accepts apparently unusable email address
like "tk...@!!!!"

--
TAMURA Kent
Software Engineer, Google



Reply via email to