note 43038 added to function.preg-match
| From: | ZachJohnson at rn2 dot php dot net | Date: | Mon, 07 Jun 2004 17:07:04 +0000 |
| Subject: | note 43038 added to function.preg-match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70698@lists.php.net to get a copy of this message | ||
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.
----
Manual Page -- http://www.php.net/manual/en/function.preg-match.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43038
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43038&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43038&report=yes
Search -- http://master.php.net/manage/user-notes.php