John Nagle <na...@animats.com> writes: > It matches anything that looks like a mail user name followed by > an @ followed by anything that looks more or less like a domain name. > The domain name must contain at least one ".", and cannot end with > a ".", which is not strictly correct but usually works.
It will reject many valid email addresses. For better guidance on verifying email address values, see the official recommendations in RFC 3696 <URL:https://tools.ietf.org/html/rfc3696>. In short: don't bother validating email addresses, the email system is best placed to do that. Just try using them and catch the failures when they happen. -- \ “He was the mildest-mannered man / That ever scuttled ship or | `\ cut a throat.” —“Lord” George Gordon Noel Byron, _Don Juan_ | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list