note 43038 rejected from function.preg-match by aidan
| From: | aidan@php.net | Date: | Sun, 04 Jul 2004 16:21:13 +0000 |
| Subject: | note 43038 rejected from function.preg-match by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72526@lists.php.net to get a copy of this message | ||
Note Submitter: Zach Johnson
----
Concerning webhamster's update to my email validation schema:
Don't forget the .MUSEUM top-level-domain which is more than 4 letters long (we can't jump
to conclusions about future TLD's either). If you don't believe me just type http://art.museum/ into your location bar.
Also, webhamster's regular expression has a mistake in it, because it doesn't allow for
multiple subdomains, ie: address@sub.domain.co.uk
See my post below for the correct email validation regular expression.