preg_match - How do I...?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
enygma
Site Admin
Posts: 175
Joined: Fri Apr 19, 2002 8:29 am
Location: Dallas, Tx

Post by enygma »

yes, but this it PHP, silly....
-enygma
dusty
Forum Contributor
Posts: 122
Joined: Sun Apr 28, 2002 9:52 pm
Location: Portsmouth, VA

Post by dusty »

Yes, so why say use ereg rather than preg?
Note: preg_match(), which uses a Perl-compatible regular expression syntax, is often a faster alternative to ereg().
straight out of the manual ;]
Post Reply