note 84723 added to function.preg-match-all
| From: | Anonymous at osu1 dot php dot net | Date: | Sun, 27 Jul 2008 17:46:42 +0000 |
| Subject: | note 84723 added to function.preg-match-all | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-142815@lists.php.net to get a copy of this message | ||
The example for named references has a mistake.
the regular expression is missing P.
preg_match_all('/(?P<name>\w+): (?P<digit>\d+)/', $str, $matches);
- -
----
Server IP: 213.92.11.19
Probable Submitter: 85.18.76.4
----
Manual Page -- http://www.php.net/manual/en/function.preg-match-all.php
Edit -- https://master.php.net/note/edit/84723
Del: integrated -- https://master.php.net/note/delete/84723/integrated
Del: useless -- https://master.php.net/note/delete/84723/useless
Del: bad code -- https://master.php.net/note/delete/84723/bad+code
Del: spam -- https://master.php.net/note/delete/84723/spam
Del: non-english -- https://master.php.net/note/delete/84723/non-english
Del: in docs -- https://master.php.net/note/delete/84723/in+docs
Del: other reasons-- https://master.php.net/note/delete/84723
Reject -- https://master.php.net/note/reject/84723
Search -- https://master.php.net/manage/user-notes.php