in reply to Please evaluate: RegEx for validating e-mail addresses

May I offer you the article I'm currenly writing about regular expressions? Have a look here, right at the chapter "Validating addresses", first item.

It says: don't do e-mail address validation through regexes, just because the "slight correction" Ovid gave you.




"2b"||!"2b";$$_="the question"
Besides that, my code is untested unless stated otherwise.
One more: please review the article about regular expressions (do's and don'ts) I'm working on.