Skip to content

Commit 27e12b5

Browse files
committed
ext/pcre: drop negative-length match tests
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.
1 parent 3842168 commit 27e12b5

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

ext/pcre/tests/preg_match_all_negative_length_match.phpt

Lines changed: 0 additions & 10 deletions
This file was deleted.

ext/pcre/tests/preg_match_negative_length_match.phpt

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)