Re: Ereg() Function
| From: | John Coggeshall | Date: | Fri, 23 May 2003 21:57:38 +0000 |
| Subject: | Re: Ereg() Function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148817@lists.php.net to get a copy of this message | ||
> I do not know if that allows all RFC compliant addresses (including routing
> information that _may_ be part of the address), but didn't have any
> complaint yet, and have _no_ invalid email addresses in our databases so far.
It doesn't, no way. For those of you who happen to own a copy of
"Mastering Regular Expressions" From O'Reilly, I suggest you turn to
page 316 and see the 6,598 byte regular expression that has the best
shot at holding the claim of "RFC Complaint" :)
John
--
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
John Coggeshall
john at coggeshall dot org http://www.coggeshall.org/
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-