note 84723 deleted from function.preg-match-all by felipe
| From: | felipe@php.net | Date: | Sun, 27 Jul 2008 18:13:40 +0000 |
| Subject: | note 84723 deleted from function.preg-match-all by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142816@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
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);
- -