note 84312 deleted from function.preg-match by cmb
| From: | cmb@php.net | Date: | Sun, 28 Oct 2018 10:44:45 +0000 |
| Subject: | note 84312 deleted from function.preg-match by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-209539@lists.php.net to get a copy of this message | ||
Note Submitter: Dino Korah AT webroot DOT com
----
preg_match and preg_replace_callback doesnt match up in the structure of the array that they fill-up
for a match.
preg_match, as the example shows, supports named patterns, whereas preg_replace_callback doesnt seem
to support it at all. It seem to ignore any named pattern matched.