in reply to Re: On Validating Email Addresses
in thread On Validating Email Addresses
merlyn already noted the TLD problem. But really, you're now being too generous. The real solution is to use Email::Valid, which contains a very large and complex regex, plus a few other validation routines.
As complex as that regex is, it still won't match embedded comments in the address, but that's usually not a problem.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: On Validating Email Addresses
by diotalevi (Canon) on Jan 05, 2005 at 06:27 UTC | |
by tye (Sage) on Jan 05, 2005 at 06:51 UTC | |
by diotalevi (Canon) on Jan 05, 2005 at 07:08 UTC | |
by hardburn (Abbot) on Jan 05, 2005 at 14:36 UTC | |
by diotalevi (Canon) on Jan 05, 2005 at 19:25 UTC | |
|
Re^3: On Validating Email Addresses
by Thilosophy (Curate) on Jan 05, 2005 at 01:53 UTC | |
by BrowserUk (Patriarch) on Jan 05, 2005 at 02:11 UTC | |
by jeffenstein (Hermit) on Jan 10, 2005 at 07:18 UTC |