note 86170 rejected from function.ereg by thiago
| From: | thiago@php.net | Date: | Mon, 06 Oct 2008 18:16:09 +0000 |
| Subject: | note 86170 rejected from function.ereg by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145100@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
I`m very sorry for the stupid question but what is the meaning of ^ at the beginning and $ at the
end of the string:
if (ereg("^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu)$",