Re: Offset-only results from preg_match
| From: | Markus Fischer | Date: | Wed, 20 Mar 2019 08:03:24 +0000 |
| Subject: | Re: Offset-only results from preg_match | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104816@lists.php.net to get a copy of this message | ||
On 19.03.19 15:58, Nikita Popov wrote:
I'm wondering if we shouldn't consider a new object oriented API for PCRE which can return a match object where subpattern positions and contents can be queried via method calls, so you only pay for the parts that you do access.Or also a literal syntax would be very very nice :-) - Markus