samesch Mon Feb 5 09:53:42 2007 UTC
Modified files:
/phpdoc/en/reference/pcre/functions preg-match.xml
Log:
typo (wrong function)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/functions/preg-match.xml?r1=1.22&r2=1.23&diff_format=u
Index: phpdoc/en/reference/pcre/functions/preg-match.xml
diff -u phpdoc/en/reference/pcre/functions/preg-match.xml:1.22
phpdoc/en/reference/pcre/functions/preg-match.xml:1.23
--- phpdoc/en/reference/pcre/functions/preg-match.xml:1.22 Fri Feb 2
22:11:46 2007
+++ phpdoc/en/reference/pcre/functions/preg-match.xml Mon Feb 5 09:53:42 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.22 $ -->
+<!-- $Revision: 1.23 $ -->
<refentry id="function.preg-match">
<refnamediv>
<refname>preg_match</refname>
@@ -88,7 +88,7 @@
<para>
Using <parameter>offset</parameter> is not equivalent to passing
<literal>substr($subject, $offset)</literal> to
- <function>preg_match_all</function> in place of the subject string,
+ <function>preg_match</function> in place of the subject string,
because <parameter>pattern</parameter> can contain assertions such as
<emphasis>^</emphasis>, <emphasis>$</emphasis> or
<emphasis>(?<=x)</emphasis>. Compare: