Delete bogus double backslash

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324523 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2012-03-25 09:31:17 +00:00
parent a9b26c34e4
commit e7b8a85932
2 changed files with 5 additions and 5 deletions

View file

@ -40,9 +40,9 @@
<para>
If <parameter>pattern</parameter> contains parenthesized substrings,
<parameter>replacement</parameter> may contain substrings of the form
<literal>\\<replaceable>digit</replaceable></literal>, which will be
<literal>\<replaceable>digit</replaceable></literal>, which will be
replaced by the text matching the digit'th parenthesized substring;
<literal>\\0</literal> will produce the entire contents of string.
<literal>\0</literal> will produce the entire contents of string.
Up to nine substrings may be used. Parentheses may be nested, in which
case they are counted by the opening parenthesis.
</para>
@ -127,7 +127,7 @@ echo $string; /* Output: 'This string has 4 words.' */
<![CDATA[
<?php
$text = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]",
"<a href=\"\\0\">\\0</a>", $text);
'<a href="\\0">\\0</a>', $text);
?>
]]>
</programlisting>

View file

@ -40,9 +40,9 @@
<para>
If <parameter>pattern</parameter> contains parenthesized substrings,
<parameter>replacement</parameter> may contain substrings of the form
<literal>\\<replaceable>digit</replaceable></literal>, which will be
<literal>\<replaceable>digit</replaceable></literal>, which will be
replaced by the text matching the digit'th parenthesized substring;
<literal>\\0</literal> will produce the entire contents of string.
<literal>\0</literal> will produce the entire contents of string.
Up to nine substrings may be used. Parentheses may be nested, in which
case they are counted by the opening parenthesis.
</para>