Posted by John Dunlop on 10/12/41 11:27
Mazin07 wrote:
> /\w+@\w+\.\w+
Ad hoc regular expressions to validate the syntax of e-mail addresses
are invariably both too loose and too strict. Too loose in that they
pass forms not allowed by RFC2822, too strict in that they reject
forms allowed by RFC2822. Even the Mail::RFC822::Address pattern
doesn't encompass the gamut of forms, but then it doesn't pretend to.
--
Jock
Navigation:
[Reply to this message]
|