note 50771 added to function.preg-replace
| From: | JayBlackwood at osu1 dot php dot net | Date: | Wed, 09 Mar 2005 14:58:54 +0000 |
| Subject: | note 50771 added to function.preg-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86155@lists.php.net to get a copy of this message | ||
Don't forget that the regular expression, 'pattern', MUST include the slashes on
either end! If you forget you get a very unhelpful message, "Warning: Delimiter must not be
alphanumeric ".
It is really easy to forget these delimeters as they are in many ways part of the syntax of a given
PERL command, not the regular expression.
----
Manual Page -- http://www.php.net/manual/en/function.preg-replace.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50771
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50771&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50771&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50771&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50771&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50771&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50771&report=yes
Search -- http://master.php.net/manage/user-notes.php