Re: Quickform Email Rule doesn't allow First character to be upper case

From: Date: Wed, 26 Mar 2003 08:45:51 +0000
Subject: Re: Quickform Email Rule doesn't allow First character to be upper case
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14624@lists.php.net to get a copy of this message
<culley@ml1.net> wrote : > > The quickform Email rule is missing "A-Z" in the first part of the > expression: > > > 216,217c216,217 > < 'email' =>array('regex', > '/^[a-z0-9\._-]+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/'), > < 'emailorblank' =>array('regex', > '/(^$)|(^[a-z0-9\._-]+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})(\]?) > $)/'), > --- >> 'email' =>array('regex', >> '/^[a-zA-Z0-9\._-]+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/ >> '), >> 'emailorblank' =>array('regex', >> '/(^$)|(^[a-zA-Z0-9\._-]+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})( >> \]?)$)/'), You probably have an old version. Upgrade to 2.10 at least. Bertrand Mansion Mamasam

« previous php.pear.dev (#14624) next »