PCRE partial matching

From: Date: Wed, 20 Mar 2019 09:31:53 +0000
Subject: PCRE partial matching
Groups: php.internals 
Request: Send a blank email to internals+get-104817@lists.php.net to get a copy of this message
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

« previous php.internals (#104817) next »