ereg: fix incorrect documentation of what the first element of the matches array contains

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64251 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
jim winstead 2001-12-07 21:53:39 +00:00
parent 4edd5be5cb
commit 08dfef9a69

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.31 $ -->
<!-- $Revision: 1.32 $ -->
<reference id="ref.regex">
<title>Regular Expression Functions (POSIX Extended)</title>
<titleabbrev>Regexps</titleabbrev>
@ -127,7 +127,7 @@ $string = ereg_replace ("\n", "", $string);
<parameter>regs</parameter>. $regs[1] will contain the substring
which starts at the first left parenthesis; $regs[2] will contain
the substring starting at the second, and so on. $regs[0] will
contain a copy of <parameter>string</parameter>.
contain a copy of the complete string matched.
</simpara>
<simpara>
If <function>ereg</function> finds any matches at all, $regs will