in reply to Re: Translation of reg expression
in thread Translation of reg expression

. . . might contain multiple periods after the @, etc.

Or no periods at all.

Take a look at the regex in the Email::Valid module. (If you stare at it long enough, it starts to form a picture like those Magic Eye posters that were popular a few years back).

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

: () { :|:& };:

Note: All code is untested, unless otherwise stated