[pLog-svn] Email Validator

Oscar Renalias oscar at renalias.net
Sun Jul 23 15:13:53 GMT 2006


I can create the test case(s), but can you please provide a few  
"funny" email addresses that should work and some that shouldn't?

On 23 Jul 2006, at 17:34, Ammar Ibrahim wrote:

> That's exactly what I did, it's a crazy regex! And the good thing  
> all the good adresses are passing, but some invalid adresses like  
> ammar at h.a are passing although no domain is one letter and no tld  
> is one letter. but I think this should be OK, anyhow, if you think  
> we need something more serious I can get the RFC one.
>
> On 7/23/06, Jon Daley <plogworld at jon.limedaley.com> wrote:          
> There's a pretty crazy regexp.  How much did you test it?  I don't
> want to actually go through a read it, but if you have tested it  
> with a
> half dozen addresses, good and bad, and it caught them correctly,  
> that is
> good enough for me.
>
> On Sun, 23 Jul 2006, Ammar Ibrahim wrote:
>
> > find the new code attached for your review. I didn't go for the  
> full RFC
> > validation.
> >
> > - Ammar
> >
>
> --
> Jon Daley
> http://jon.limedaley.com/
>
> Everything takes longer than you think.
> -- Murphy's Second Law
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn



More information about the pLog-svn mailing list