diff --git a/functions/regex.xml b/functions/regex.xml index a4cf604c2a..505f90f907 100644 --- a/functions/regex.xml +++ b/functions/regex.xml @@ -1,5 +1,5 @@ - + Regular Expression Functions (POSIX Extended) Regexps @@ -127,7 +127,7 @@ $string = ereg_replace ("\n", "", $string); regs. $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 string. + contain a copy of the complete string matched. If ereg finds any matches at all, $regs will