jimw Fri Dec 7 16:53:39 2001 EDT
Modified files:
/phpdoc/en/functions regex.xml
Log:
ereg: fix incorrect documentation of what the first element of the matches array
contains
Index: phpdoc/en/functions/regex.xml
diff -u phpdoc/en/functions/regex.xml:1.31 phpdoc/en/functions/regex.xml:1.32
--- phpdoc/en/functions/regex.xml:1.31 Wed Nov 21 18:05:18 2001
+++ phpdoc/en/functions/regex.xml Fri Dec 7 16:53:39 2001
@@ -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 @@
<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