From 28b3f984e2f9926164efc8949301f45c6bb41b25 Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Wed, 26 Jun 2019 11:02:39 +0200 Subject: Update internal PCRE to version 8.43 --- lib/stdlib/test/re_SUITE_data/testoutput1 | 24 ++++++++++++++++++++++++ lib/stdlib/test/re_SUITE_data/testoutput2 | 4 ++++ lib/stdlib/test/re_SUITE_data/testoutput4 | 4 ++++ 3 files changed, 32 insertions(+) (limited to 'lib') diff --git a/lib/stdlib/test/re_SUITE_data/testoutput1 b/lib/stdlib/test/re_SUITE_data/testoutput1 index eff8ecc948..e6147e60b9 100644 --- a/lib/stdlib/test/re_SUITE_data/testoutput1 +++ b/lib/stdlib/test/re_SUITE_data/testoutput1 @@ -9446,4 +9446,28 @@ No match >XXX< 0: X +/ (? \w+ )* \. /xi + pokus. + 0: pokus. + 1: pokus + +/(?(DEFINE) (? \w+ ) ) (?&word)* \./xi + pokus. + 0: pokus. + +/(?(DEFINE) (? \w+ ) ) ( (?&word)* ) \./xi + pokus. + 0: pokus. + 1: + 2: pokus + +/(?&word)* (?(DEFINE) (? \w+ ) ) \./xi + pokus. + 0: pokus. + +/(?&word)* \. (? \w+ )/xi + pokus.hokus + 0: pokus.hokus + 1: hokus + /-- End of testinput1 --/ diff --git a/lib/stdlib/test/re_SUITE_data/testoutput2 b/lib/stdlib/test/re_SUITE_data/testoutput2 index 61ed8d9d4e..4ccda27201 100644 --- a/lib/stdlib/test/re_SUITE_data/testoutput2 +++ b/lib/stdlib/test/re_SUITE_data/testoutput2 @@ -14721,4 +14721,8 @@ No need char 0: ab 1: a +/(?(?=^))b/ + abc + 0: b + /-- End of testinput2 --/ diff --git a/lib/stdlib/test/re_SUITE_data/testoutput4 b/lib/stdlib/test/re_SUITE_data/testoutput4 index d43c12392d..69e812cd35 100644 --- a/lib/stdlib/test/re_SUITE_data/testoutput4 +++ b/lib/stdlib/test/re_SUITE_data/testoutput4 @@ -1277,4 +1277,8 @@ No match \\C(\\W?ſ)'?{{ No match +/[^\x{100}-\x{ffff}]*[\x80-\xff]/8 + \x{99}\x{99}\x{99} + 0: \x{99}\x{99}\x{99} + /-- End of testinput4 --/ -- cgit v1.2.3