News for hackers. Stuff that matters.
Re:How not to check the validity of an email address by callahad on Wednesday September 04, 2013 @07:11AM (#6326707)
The HTML5 standard actually defines a mostly-sane regex, which achieves that sanity through "a willful violation of RFC 5322, which defines a syntax for e-mail addresses that is simultaneously too strict (before the "@" character), too vague (after the "@" character), and too lax (allowing comments, whitespace characters, and quoted strings in manners unfamiliar to most users) to be of practical use here."

I like it.

Link: http://www.whatwg.org/specs/web-apps/current-work/multipage/...

There are no comments on this comment yet.