mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
4edd5be5cb
commit
08dfef9a69
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue