Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The .NET Framework's email address validation has a pretty ... comprehensive ... regular expression [1].

[1] http://referencesource.microsoft.com/#System.ComponentModel....



Holy line of cartoon swear words Batman!

I would hate to be the programmer who had to debug that regex.


You clearly haven't seen the regex that matches emails according to RFC822:

Behold: http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html


/me falls off chair




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: