> Suffice to say that it's impossible to write a regexp that parses E-Mail addresses.
See Jeffrey Friedl's regex that checks if an email address conforms to rfc822 published in Mastering Regular Expressions. IIRC that regex is about 6k characters long, it is also included in the module Email::Valid which I would recommend for checking email addresses.
Right, well of course, what I was implying was that it's impossible to write a *short* regexp that will accurately parse for a valid E-Mail address. Anything's impossible with enough code and horsepower to run it.
I still maintain that in the context (code size, inferred experience level) of the original message, such a regexp is impossible.
--t. alex
"Nyahhh (munch, munch) What's up, Doc?" --Bugs Bunny