http://www.perlmonks.org?node_id=393846


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

Personally, I think you're tilting at windmills. That said, I can offer a small correction to Ovid's post: RFC 822 has been superseded by RFC 2822. (Since the RFCs provide what looks like BNF for the actual address spec, I'd suggest using a parser-builder instead of a regex - I guess Parse::RecDescent and Parse::YAPP are pretty good, though I haven't used either. Parsers are worth learning about, too.)

--
F o x t r o t U n i f o r m
Found a typo in this node? /msg me
% man 3 strfry