Re: "." before the "@"

From: Derek J. Balling (dredd@megacity.org)
Date: Fri Jun 16 2000 - 14:53:07 EDT


It's not THAT hard.

Owl book, p.316. The "God Regex" of e-mail parsing and validation.

Although I believe someone simply made a perl module out of that regex, so
that people wouldn't have to copy Jeff's regex by hand. ;-)

D

At 01:28 PM 6/16/00 -0400, Christopher Masto wrote:
>On Thu, Jun 15, 2000 at 03:16:47PM -0400, Robert Rivers wrote:
> > According to RFC 822, a "." before the "@" is incorrect
> > syntax.
> >
> > However, it's not a big deal and it's not going to break
> > anything so we will allow it in the next release.
>
>In general, attempting to "validate" e-mail addresses is a bad idea.
>You'd have to go through the whole RFC822 parsing thing, which is
>a waste of time, given that virtually anything is a valid e-mail
>address if it has an @ in it.
>
>I have this fight on a regular basis because I use an e-mail address
>with a "+" in it to track who sells/shares my information. Just
>yesterday, I couldn't sign up for an online credit card system because
>some fool thought any e-mail address with a non-alphanumeric character
>was invalid.
>
>My recommendation is "accept them all, and let the MTA system sort 'em
>out".
>--
>Christopher Masto Senior Network Monkey NetMonger Communications
>chris@netmonger.net info@netmonger.net http://www.netmonger.net
>
>Free yourself, free your machine, free the daemon -- http://www.freebsd.org/



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:38 EDT