On 16 Aug 2006 16:09:39 -0700, Simon Forman <[EMAIL PROTECTED]> wrote:
>fuzzylollipop wrote:
>> I want to do email address format validations, without turning to ANTLR
>> or pyparsing, anyone know of a regex that is COMPLIANT with RFC 821.
>> Most of the ones I have found from google searches are not really as
>> robust as I need them to be.
>
>Would email.Utils.parseaddr() fit the bill?
>
>http://docs.python.org/lib/module-email.Utils.html#l2h-3944
>

This is for RFC 2822 addresses.

http://divmod.org/trac/browser/sandbox/exarkun/smtp.py

Jean-Paul
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to