Re: PCRE partial matching
| From: | Nikita Popov | Date: | Thu, 09 May 2019 10:08:16 +0000 |
| Subject: | Re: PCRE partial matching | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-105651@lists.php.net to get a copy of this message | ||
On Wed, Mar 20, 2019 at 10:31 AM Nikita Popov <nikita.ppv@gmail.com> wrote:
> Hi internals,
>
> PCRE has some very nice partial matching functionality described at
> https://www.pcre.org/current/doc/html/pcre2partial.html. This
> is useful
> for streaming processing, as it allows you to distinguish between "there's
> definitely no match here" and "this could match starting from position N,
> but we need more data to find out".
>
> Here is a PR to expose this functionality from PHP:
> https://github.com/php/php-src/pull/3969 The PR has a basic
> description
> of the API.
>
> What do you think?
>
> Nikita
>
Any more comments on this one?
Nikita