s/regs/matches/g

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352032 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Yoshinari Takaoka 2020-12-12 17:35:43 +00:00
parent 1187e24a84
commit 9240fafbb2
2 changed files with 6 additions and 6 deletions

View file

@ -51,10 +51,10 @@
array.
</para>
<para>
<varname>$regs[1]</varname> will contain the substring which starts at
the first left parenthesis; <varname>$regs[2]</varname> will contain
<varname>$matches[1]</varname> will contain the substring which starts at
the first left parenthesis; <varname>$matches[2]</varname> will contain
the substring starting at the second, and so on.
<varname>$regs[0]</varname> will contain a copy of the complete string
<varname>$matches[0]</varname> will contain a copy of the complete string
matched.
</para>
</listitem>

View file

@ -51,10 +51,10 @@
array.
</para>
<para>
<varname>$regs[1]</varname> will contain the substring which starts at
the first left parenthesis; <varname>$regs[2]</varname> will contain
<varname>$matches[1]</varname> will contain the substring which starts at
the first left parenthesis; <varname>$matches[2]</varname> will contain
the substring starting at the second, and so on.
<varname>$regs[0]</varname> will contain a copy of the complete string
<varname>$matches[0]</varname> will contain a copy of the complete string
matched.
</para>
</listitem>