Skip to content

ext/pcre: drop negative-length match tests#21308

Draft
devnexen wants to merge 1 commit intophp:PHP-8.5from
devnexen:pcre2_tests_fix2
Draft

ext/pcre: drop negative-length match tests#21308
devnexen wants to merge 1 commit intophp:PHP-8.5from
devnexen:pcre2_tests_fix2

Conversation

@devnexen
Copy link
Member

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant