[php-src] PR #21308: ext/pcre: drop negative-length match tests
| From: | devnexen | Date: | Thu, 26 Feb 2026 20:26:07 +0000 |
| Subject: | [php-src] PR #21308: ext/pcre: drop negative-length match tests | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35039@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21308
Author: devnexen
Newer PCRE2 rejects \K in lookarounds at compile time, so the negative-length match code path can no
longer be triggered from userland PHP. The PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK flag that would
re-enable it is only settable via the C compile context API.