Re: [Evolution-hackers] mail address validation



> $RFC822PAT = <<'EOF';
> [\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\
> (etc)

I want a T-Shirt with that!

I wonder what the RFC822 authors were smoking. Or is it possible to
implement a correct RFC822 email address pattern matcher in code in a
significantly simpler way than with a regex? Or is it simply so that
no software actually properly implemented the spec until Jeff Friedl
constructed that regex?

--tml


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]