From 9f2d03952daf5348d7f18c18e82607979e28df12 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Thu, 17 Sep 2020 13:44:42 +0200 Subject: Update to PCRE2 10.35 We also backport the fix for bug #79846, and add a test case for the related bug #79363. --- ext/pcre/tests/bug79363.phpt | 11 +++++++++++ ext/pcre/tests/bug79846.phpt | 17 +++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 ext/pcre/tests/bug79363.phpt create mode 100644 ext/pcre/tests/bug79846.phpt (limited to 'ext/pcre/tests') diff --git a/ext/pcre/tests/bug79363.phpt b/ext/pcre/tests/bug79363.phpt new file mode 100644 index 0000000000..fffeb50e3c --- /dev/null +++ b/ext/pcre/tests/bug79363.phpt @@ -0,0 +1,11 @@ +--TEST-- +Bug #79363 (\p{L} doesn't work alongside \p{Arabic} in a character class) +--FILE-- + +--EXPECT-- +string(11) "00000 00000" +string(11) "lower0UPPER" diff --git a/ext/pcre/tests/bug79846.phpt b/ext/pcre/tests/bug79846.phpt new file mode 100644 index 0000000000..b995c38794 --- /dev/null +++ b/ext/pcre/tests/bug79846.phpt @@ -0,0 +1,17 @@ +--TEST-- +Bug #79846 (8c67c166996 broke simple regexp) +--FILE-- + +--EXPECT-- +array(3) { + [0]=> + string(17) "component_phase_1" + [1]=> + string(15) "component_phase" + [2]=> + string(1) "1" +} -- cgit v1.2.1