Don't use regular expressions to "validate" email addresses

Ben Finney bignose+hates-spam at benfinney.id.au
Fri Sep 22 06:01:26 EDT 2006


"John Machin" <sjmachin at lexicon.net> writes:

> What proportion of deliverable e-mail addresses have more than one @
> in them?

I don't know. Fortunately, I don't need to; I don't "validate" email
addresses by regular expression.

What proportion of deliverable email addresses do you want to discard
as "not valid"?

-- 
 \       "Theology is the effort to explain the unknowable in terms of |
  `\                      the not worth knowing."  -- Henry L. Mencken |
_o__)                                                                  |
Ben Finney




More information about the Python-list mailing list