note 37819 added to function.preg-replace
| From: | Balu at rn2 dot php dot net | Date: | Fri, 28 Nov 2003 11:26:44 +0000 |
| Subject: | note 37819 added to function.preg-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-61069@lists.php.net to get a copy of this message | ||
It would be nice if you could disable the usage of backreferences, e.g. if you have a dynamically
generated replacement string.
I have not really figured out yet how to avoid the backreferences then (not sure how many \\\\\ I
need to do something like preg_quote, but for the replacement and not the pattern). It will be fun
to create a regex for this changing those special chars \ and $ 8-)
----
Manual Page -- http://www.php.net/manual/en/function.preg-replace.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37819
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37819&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37819&report=yes
Search -- http://master.php.net/manage/user-notes.php