Upgrade to pcre2 version 10.32.
Bug: N/A
Test: builds and boots, getprop -Z works
Change-Id: Ib5592447c603a46fe03d71b412db58e46bad8e52
diff --git a/dist2/testdata/testoutput4 b/dist2/testdata/testoutput4
index 6056e6d..ba3df37 100644
--- a/dist2/testdata/testoutput4
+++ b/dist2/testdata/testoutput4
@@ -2293,43 +2293,18 @@
0: \x{6ef}
\x{6fa}
0: \x{6fa}
-\= Expect no match
- \x{650}
-No match
- \x{651}
-No match
- \x{652}
-No match
- \x{653}
-No match
- \x{654}
-No match
- \x{655}
-No match
-
+
/^\p{Cyrillic}/utf
\x{1d2b}
0: \x{1d2b}
/^\p{Common}/utf
- \x{589}
- 0: \x{589}
- \x{60c}
- 0: \x{60c}
- \x{61f}
- 0: \x{61f}
- \x{964}
- 0: \x{964}
- \x{965}
- 0: \x{965}
+ \x{2116}
+ 0: \x{2116}
+ \x{1D183}
+ 0: \x{1d183}
/^\p{Inherited}/utf
- \x{64b}
- 0: \x{64b}
- \x{654}
- 0: \x{654}
- \x{655}
- 0: \x{655}
\x{200c}
0: \x{200c}
\= Expect no match
@@ -3728,5 +3703,43 @@
\= Expect no match
\x{123}\x{124}\x{123}
No match
+
+/\N{U+1234}/utf
+ \x{1234}
+ 0: \x{1234}
+
+/[\N{U+1234}]/utf
+ \x{1234}
+ 0: \x{1234}
+
+# Test the full list of Unicode "Pattern White Space" characters that are to
+# be ignored by /x. The pattern lines below may show up oddly in text editors
+# or when listed to the screen. Note that characters such as U+2002, which are
+# matched as space by \h and \v are *not* "Pattern White Space".
+
+/A
B/x,utf
+ AB
+ 0: AB
+
+/A B/x,utf
+ A\x{2002}B
+ 0: A\x{2002}B
+\= Expect no match
+ AB
+No match
+
+# -------
+
+/[^\x{100}-\x{ffff}]*[\x80-\xff]/utf
+ \x{99}\x{99}\x{99}
+ 0: \x{99}\x{99}\x{99}
+
+/[^\x{100}-\x{ffff}ABC]*[\x80-\xff]/utf
+ \x{99}\x{99}\x{99}
+ 0: \x{99}\x{99}\x{99}
+
+/[^\x{100}-\x{ffff}]*[\x80-\xff]/i,utf
+ \x{99}\x{99}\x{99}
+ 0: \x{99}\x{99}\x{99}
# End of testinput4