note 58770 added to function.ereg
| From: | net_navard at yahoo dot com | Date: | Tue, 15 Nov 2005 15:35:09 +0000 |
| Subject: | note 58770 added to function.ereg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-98615@lists.php.net to get a copy of this message | ||
Hello
I think this is not clear:
"the matches will 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 contain a copy of the complete string matched. "
Beacause By "substring," it means the string contained within the parenthesis.
But in that statement it isn't so clearly
With regards
Amir Hossein Estakhrian
----
Manual Page -- http://www.php.net/manual/en/function.ereg.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58770
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58770&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58770&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58770&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58770&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58770&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58770&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58770&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58770&report=yes
Search -- http://master.php.net/manage/user-notes.php