Quickform Email Rule doesn't allow First character to be upper case
| From: | culley harrelson | Date: | Wed, 26 Mar 2003 06:04:59 +0000 |
| Subject: | Quickform Email Rule doesn't allow First character to be upper case | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-14621@lists.php.net to get a copy of this message | ||
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})(\]?)$)/'),