blindman Tue Oct 12 07:20:31 2004 EDT
Modified files: /phpdoc/en/reference/pcre/functions preg-match-all.xml preg-match.xml Log: <function> => <literal> use &example.outputs; http://cvs.php.net/diff.php/phpdoc/en/reference/pcre/functions/preg-match-all.xml?r1=1.15&r2=1.16&ty=u Index: phpdoc/en/reference/pcre/functions/preg-match-all.xml diff -u phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.15 phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.16 --- phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.15 Tue Oct 12 03:49:05 2004 +++ phpdoc/en/reference/pcre/functions/preg-match-all.xml Tue Oct 12 07:20:28 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> +<!-- $Revision: 1.16 $ --> <!-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 --> <refentry id="function.preg-match-all"> <refnamediv> @@ -139,7 +139,7 @@ <note> <para> Using <parameter>offset</parameter> is not equivalent to - passing <function>substr</function>($subject, $offset) to + passing <literal>substr($subject, $offset)</literal> to <function>preg_match</function> in place of the subject string, because <parameter>pattern</parameter> can contain assertions such as <emphasis>^</emphasis>, <emphasis>$</emphasis> or http://cvs.php.net/diff.php/phpdoc/en/reference/pcre/functions/preg-match.xml?r1=1.16&r2=1.17&ty=u Index: phpdoc/en/reference/pcre/functions/preg-match.xml diff -u phpdoc/en/reference/pcre/functions/preg-match.xml:1.16 phpdoc/en/reference/pcre/functions/preg-match.xml:1.17 --- phpdoc/en/reference/pcre/functions/preg-match.xml:1.16 Tue Oct 12 03:49:06 2004 +++ phpdoc/en/reference/pcre/functions/preg-match.xml Tue Oct 12 07:20:28 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> +<!-- $Revision: 1.17 $ --> <!-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 --> <refentry id="function.preg-match"> <refnamediv> @@ -58,7 +58,7 @@ <note> <para> Using <parameter>offset</parameter> is not equivalent to - passing <function>substr</function>($subject, $offset) to + passing <literal>substr($subject, $offset)</literal> to <function>preg_match</function> in place of the subject string, because <parameter>pattern</parameter> can contain assertions such as <emphasis>^</emphasis>, <emphasis>$</emphasis> or @@ -75,9 +75,7 @@ ?> ]]> </programlisting> - <para> - will produce - </para> + &example.outputs; <screen> <![CDATA[ Array @@ -86,7 +84,7 @@ ]]> </screen> <para> - and + while this example </para> <programlisting role="php"> <![CDATA[