[whatwg] Comments on the definition of a valid e-mail address
Michelangelo De Simone
micdesim at gmail.com
Mon Aug 24 12:36:15 PDT 2009
2009/8/24 Peter Kasting <pkasting at google.com>:
> I am mentoring a student who is writing a patch for this in WebKit as we
> speak -- we were just discussing the implementation yesterday and I believe
> he hopes to have it out for review tomorrow.
The mentored student has published the patch and is waiting for
comments, however this is the pattern I've used:
dotAtomText = [a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*
Value is "valid" if matches entirely dotAtomText"@"dotAtomText. Every
feedback will be appreciated.
--
Bye,
Michelangelo
More information about the whatwg
mailing list