From db7f8bfa86f3fe16036662110b77aca7de8cb13e Mon Sep 17 00:00:00 2001 From: Ron Chmara Date: Sat, 12 Aug 2000 20:50:55 +0000 Subject: [PATCH] Typos, added text to clarify ereg array. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30170 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/regex.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/regex.xml b/functions/regex.xml index 4f8fb7284d..0ee18c0a9e 100644 --- a/functions/regex.xml +++ b/functions/regex.xml @@ -93,14 +93,14 @@ $string = ereg_replace ("\n", "", $string); - Searchs string for matches to the regular + Searches a string for matches to the regular expression given in pattern. If matches are found for parenthesized substrings of pattern and the function is called with the third argument regs, the matches will - be stored in the elements of + be stored in the elements of the array 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