typo (wrong function)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229026 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Martin Samesch 2007-02-05 09:53:42 +00:00
parent d0df1d240c
commit bf7e274c41

View file

@ -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>(?&lt;=x)</emphasis>. Compare: