On 06/14/2002 03:06 AM, Miguel Cruz wrote:
> On Fri, 14 Jun 2002, Manuel Lemos wrote:
>>The following classes use this validation regular expression string. It
>>does not exclude some invalid addresses but includes all valid addresses.
> It doesn't, as far as I can tell, allow this valid address:
> [EMAIL PROTECTED]
I never heard of TLD with more than 4 characters. Is this recent?
This classes that I mentioned with this regular expression are used by
more than 10.000 users. If this was a problem already, I should have
learned. So, I assume TLDs like this are recent.
> And what's with all the nonsense characters in the domain name portion?
> Only letters, numbers, hyphen, and period are allowed after the @ sign.
I just followed the BNF of the RFC to figure which characters would
eventually be valid. At least it does not exclude valid characters.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php