[pLog-svn] Email Validator

Mark Wu markplace at gmail.com
Sun Jul 23 15:44:53 GMT 2006


Hi Oscar:

If Ammar provide the test case... I will wirte the test case for tets runner
... 

I think I need some pratices for this.

Mark 

> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net 
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of 
> Oscar Renalias
> Sent: Sunday, July 23, 2006 11:14 PM
> To: plog-svn at devel.lifetype.net
> Subject: Re: [pLog-svn] Email Validator
> 
> 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
> 
> _______________________________________________
> 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