note 45322 deleted from function.preg-match-all by nlopess
| From: | nlopess@php.net | Date: | Wed, 07 Dec 2005 22:08:40 +0000 |
| Subject: | note 45322 deleted from function.preg-match-all by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-99708@lists.php.net to get a copy of this message | ||
Note Submitter: matthew dot panetta at gmail dot com
----
This might save a little bit of frustation when using PREG_OFFSET_CAPTURE on older versions of PHP
(it happened to me on 4.3.1). PREG_OFFSET_CAPTURE has to be combined with an order eg.
PREG_OFFSET_CAPTURE | PREG_PATTERN_ORDER. Otherwise you get an error.