note 97356 deleted from function.preg-match by danbrown
| From: | danbrown@php.net | Date: | Thu, 15 Apr 2010 18:15:23 +0000 |
| Subject: | note 97356 deleted from function.preg-match by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-168292@lists.php.net to get a copy of this message | ||
Note Submitter: desert at deserteagle dot at
----
I have to correct eric at devotia dot com a bit, because domainnames are restricted in some weird,
tld depending way. Some TLDs allow special chars like umlauts, others allow only ascii - so there is
no way of ensuring syntactically correctness of a hostname, because there are only a few chars, wich
are never allowed - i guess, a \w will do. Furthermore, the @ is allowed as userpart of the
emailaddress, in fact, at least one (1) char has to be given, no matter which one.