note 9349 added to ereg
| From: | aah at acm dot org | Date: | Sat, 28 Oct 2000 17:23:44 +0000 |
| Subject: | note 9349 added to ereg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7144@lists.php.net to get a copy of this message | ||
More on email validity checking: I may be wrong, but it seems to me that all the tests above fail
to properly escape the '.' character within the address. Specifically, I think the
regexps which include sections like '[-_.]' should properly be '[-_\.]' -- note
the escaped '.'.
http://www.php.net/manual/function.ereg.php