note 37819 deleted from function.preg-replace by didou

From: Date: Fri, 28 Nov 2003 15:09:24 +0000
Subject: note 37819 deleted from function.preg-replace by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-61076@lists.php.net to get a copy of this message
Note Submitter: Balu ---- 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-)

« previous php.notes (#61076) next »