note 48967 deleted from function.preg-match by tularis
| From: | tularis@php.net | Date: | Thu, 03 Jul 2008 21:40:07 +0000 |
| Subject: | note 48967 deleted from function.preg-match by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141150@lists.php.net to get a copy of this message | ||
Note Submitter: hfuecks at phppatterns dot com
----
Note that the PREG_OFFSET_CAPTURE flag, as far as I've tested, returns the offset in bytes not
characters, which may not be what you're expecting if you're using the /u pattern modifier
to make the regex UTF-8 aware (i.e. multibyte characters will result in a greater offset than you
expect)