mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
a9b26c34e4
commit
e7b8a85932
2 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue