I need some help with a regexp please

Ant antroy at gmail.com
Fri Sep 22 04:30:21 EDT 2006


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....




More information about the Python-list mailing list