note 118881 deleted from function.mb-ereg-match by cmb
| From: | cmb@php.net | Date: | Thu, 11 Nov 2021 11:02:28 +0000 |
| Subject: | note 118881 deleted from function.mb-ereg-match by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-217185@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
The behaviour of mb_ereg_match to imply a ^ at the beginning of the pattern stands in stark contrast
to the behaviour of mb_ereg where ^ is NOT implied.
Switching between those two routines (because the need to extract a subpattern changes) requires
careful consideration when to compensate for this surprising inconsistence.