Email address check function
Aahz Maruch
aahz at netcom.com
Sun Dec 5 12:59:55 EST 1999
In article <19991202163334.A3934 at stopcontact.palga.uucp>,
Gerrit Holl <linuxgames at nl.linux.org> wrote:
>
>I'm writing some CGI scripts and I want the user to fill in their real email
>address. Checking this is more difficult than just look if it contains an '@'.
>There must be at least one '.' after the '@' but there must be non-'@' chars
>before and after every '.', no white space, etc. There must be an RFC for
>this, but is there a function in the standard library that checks if it's
>OK?
And, just to throw a monkey wrench in the works, some people might write
their address like this:
netcom.com!aahz
--
--- Aahz (@netcom.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
Sign up now! http://www.searchbutton.com/
More information about the Python-list
mailing list