[Email-SIG] Email Address Validator
Barry Warsaw
barry at python.org
Tue Oct 19 22:31:56 CEST 2004
On Tue, 2004-10-19 at 15:56, Matthew Dixon Cowles wrote:
> In particular, I'd be rather surprised if someone could implement all
> those rules with just a regular expression.
I wouldn't necessarily expect it to be doable with regexps. One of the
weirdest approaches I've ever seen is Emacs's mail-extr.el which IIRC
used a special major-mode and syntax tables to parse an address.
I would sort of expect that anything we include in the stdlib would do
support both the parsing and the validation use cases with as much
common code as possible.
This probably can't be done for Python 2.4/email 3.0 but lets put it on
the list for email 3.1 (which may have a different release schedule than
Python 2.5).
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/email-sig/attachments/20041019/43eee2ff/attachment.pgp
More information about the Email-SIG
mailing list