note 86170 rejected from function.ereg by thiago

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
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)$",
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.