W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2009

[whatwg] Comments on the definition of a valid e-mail address

From: Michelangelo De Simone <micdesim@gmail.com>
Date: Mon, 24 Aug 2009 21:36:15 +0200
Message-ID: <a4b7ba000908241236o62fd155fle8c5a1627328b4d7@mail.gmail.com>
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.

Received on Monday, 24 August 2009 12:36:15 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:15 UTC