News for hackers. Stuff that matters.
Re:Perfect email regex finally found by jrockway on Friday May 28, 2010 @05:14PM (#1387682)
My thoughts exactly. There are so many websites that tell me my valid email address is invalid that it's not even funny. These people then have to deal with phonecalls and lost business, because their form won't even submit without a valid email address (and why should I change if they're the ones that suck).

BTW, the email address that doesn't work is "[email protected]". The .us confuses people and the - confuses people. WTF!?

Re:Perfect email regex finally found by Confusion on Saturday May 29, 2010 @05:32AM (#1388572)
The have a lot more problems to deal with if they have to deal with all the people that include a stray space in the address.

There are regexes out there that catch all valid addresses that people reasonably use (including those with dashes and ending in .us) and the fact that all kinds of incompetent developers use a homebrewn regex is no reason to lower the best case scenario to "just don't validate". Just do it right.