I need some help with a regexp please

John Machin sjmachin at lexicon.net
Fri Sep 22 05:22:28 EDT 2006


Ant wrote:
> John Machin wrote:
> ...
> > A little more is unfortunately not enough. The best advice you got was
> > to use an existing e-mail address validator.
>
> We got bitten by this at the last place I worked - we were using a
> regex email validator (from Microsoft IIRC), and we kept having
> problems with specific email addresses from Ireland. There are stack of
> Irish email addresses out there of the form paddy.o'reilly at domain -
> perfectly valid email address, but doesn't satisfy the usual naive
> versions of regex validators.
>
> We use an even worse validator at my current job, but the feeling the
> management have (not one I agree with) is that unusual email addresses,
> whilst perhaps valid, are uncommon enough not to worry about....

Oh, sorry for the abbreviation. "use" implies "source from believedly
reliable s/w source; test; then deploy" :-)




More information about the Python-list mailing list