Re: Little bug in QuickForm email rule

From: Date: Mon, 12 Jan 2004 23:49:23 +0000
Subject: Re: Little bug in QuickForm email rule
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10135@lists.php.net to get a copy of this message
<cesare@ngi.it> wrote : > Hi, there's a little problem in the rule that checks if an email is > correctly formatted: it doesn't accept 6-letters top level domain. > There are some: .museum and IIRC another one which I can't remember. > See for example: http://about.museum/ > > 4-letters domains (.name, .info, .coop) are accepted by the rule. I > can't remember if .darpa exists... > > # pear list > HTML_Common 1.2.1 stable > HTML_QuickForm 3.2 stable > HTML_Template_IT 1.1 stable > PEAR 1.2.1 stable > > (if you need more info, please let me know). The regex has changed in the last release. You can give it a try, I think it works for your problem. Bertrand Mansion Mamasam

« previous php.pear.general (#10135) next »