note 28342 added to function.preg-match
| From: | anonymous at rack1 dot php dot net | Date: | Fri, 10 Jan 2003 02:06:35 +0000 |
| Subject: | note 28342 added to function.preg-match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41936@lists.php.net to get a copy of this message | ||
Unless you absolutely must have the pattern matching facilities of regex, use str_replace() instead.
It has lower overheads and will result in faster scripts, espicially in loops.
--
http://www.php.net/manual/en/function.preg-match.php
http://master.php.net/manage/user-notes.php?action=edit+28342
http://master.php.net/manage/user-notes.php?action=delete+28342
http://master.php.net/manage/user-notes.php?action=reject+28342