note 16432 rejected from function.getmxrr by jimw
| From: | jimw@php.net | Date: | Tue, 30 Oct 2001 17:47:59 +0000 |
| Subject: | note 16432 rejected from function.getmxrr by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19606@lists.php.net to get a copy of this message | ||
In both regexp's an emailaddress like mb@ns.nl isn't accepted, though its a valid
emailaddress.
1) eregi("^[0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,3}$", $email,
$check)
2) eregi("^[0-9a-z_]([_\.-]?[0-9a-z])*@[0-9a-z][0-9a-z\.-]*\.[a-z]{2,4}\.?$", $address)
Does anyone have a solution to this emailadres also being accepted as valid?