colder Tue Feb 13 23:44:53 2007 UTC
Modified files:
/phpdoc/en/reference/pcre pattern.modifiers.xml
Log:
backslashes and NULL chars are also escaped
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/pattern.modifiers.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/pcre/pattern.modifiers.xml
diff -u phpdoc/en/reference/pcre/pattern.modifiers.xml:1.8
phpdoc/en/reference/pcre/pattern.modifiers.xml:1.9
--- phpdoc/en/reference/pcre/pattern.modifiers.xml:1.8 Fri Jun 17 11:40:20 2005
+++ phpdoc/en/reference/pcre/pattern.modifiers.xml Tue Feb 13 23:44:53 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 -->
<refentry id="reference.pcre.pattern.modifiers">
<refnamediv>
@@ -89,8 +89,8 @@
does normal substitution of backreferences in the
replacement string, evaluates it as PHP code, and uses the
result for replacing the search string.
- Single and double quotes are escaped by backslashes in substituted
- backreferences.
+ Single quotes, double quotes, backslashes and NULL chars will
+ be escaped by backslashes in substitued backreferences.
</simpara>
<para>
Only <function>preg_replace</function> uses this modifier;