note 41735 rejected from function.ereg by curt
| From: | curt@php.net | Date: | Tue, 06 Jul 2004 03:55:18 +0000 |
| Subject: | note 41735 rejected from function.ereg by curt | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72678@lists.php.net to get a copy of this message | ||
Note Submitter: ch at oak dash wood dot co dot uk
----
Even the link posted by admin.dhtmlkitchen.com has problems. Bear in mind when writing regexps for
email addresses that
1: The domain (right hand) part may be an IP address, or an IP address enclosed in square brackets.
2: What is valid in a user (left hand) part is system dependant. Not much is actually ruled out by
Internet-wide protocols, and even those few things that are may be acceptable if quoted.