vrana Thu Aug 16 10:03:31 2007 UTC
Modified files: /phpdoc/en/reference/pcre/functions preg-match-all.xml Log: Description of matches depend on flags (bug #42159) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/functions/preg-match-all.xml?r1=1.23&r2=1.24&diff_format=u Index: phpdoc/en/reference/pcre/functions/preg-match-all.xml diff -u phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.23 phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.24 --- phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.23 Wed Jun 20 22:25:11 2007 +++ phpdoc/en/reference/pcre/functions/preg-match-all.xml Thu Aug 16 10:03:31 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.23 $ --> +<!-- $Revision: 1.24 $ --> <refentry xml:id="function.preg-match-all" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>preg_match_all</refname> @@ -52,11 +52,8 @@ <term><parameter>matches</parameter></term> <listitem> <para> - In this case, $matches[0] is the first set of matches, and - <varname>$matches[0][0]</varname> has text matched by full pattern, - <varname>$matches[0][1]</varname> has text matched by first - subpattern and so on. Similarly, <varname>$matches[1]</varname> is - the second set of matches, etc. + Array of all matches in multi-dimensional array ordered according to + <parameter>flags</parameter>. </para> </listitem> </varlistentry>