note 118882 deleted from function.mb-ereg-match by cmb
| From: | cmb@php.net | Date: | Mon, 22 Feb 2016 10:52:24 +0000 |
| Subject: | note 118882 deleted from function.mb-ereg-match by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-205008@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 which does NOT imply a ^.
Switching between those two routines (because the need to extract a subpattern changes) requires
careful consideration when to compensate for this surprising inconsistence.