[Email-SIG] Email Address Validator

Oleg Broytmann phd at phd.pp.ru
Tue Oct 19 22:28:40 CEST 2004


On Tue, Oct 19, 2004 at 02:56:01PM -0500, Matthew Dixon Cowles wrote:
> In particular, I'd be rather surprised if someone could implement all
> those rules with just a regular expression. Two of the four examples
> you sent along don't like the (I'm pretty sure) legal address
> "fred&barney"@example.com. And none of them like matt@[127.0.0.1]
> which isn't used much but I'm not aware of its having been declared
> illegal recently.

   Dare to test these? The first is simpler,
http://www.breakingpar.com/bkp/home.nsf/Doc?OpenNavigator&U=87256B280015193F87256C40004CC8C6
   and the second is much more complex, but probably much closer...
http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Email-SIG mailing list