Re: Offset-only results from preg_match
| From: | Christoph M. Becker | Date: | Tue, 19 Mar 2019 20:22:20 +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-104808@lists.php.net to get a copy of this message | ||
On 19.03.2019 at 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.
+1
--
Christoph M. Becker