Regex: Update PCRE to v8.35.
I was über lazy at first, so took libs from SM. But actually it's quite easy to compile, so let's update to latest version \o/.
This commit is contained in:
189
tools/pcre/testdata/testinput6
vendored
189
tools/pcre/testdata/testinput6
vendored
@ -1,5 +1,7 @@
|
||||
/-- This set of tests is for Unicode property support. It is compatible with
|
||||
Perl >= 5.15. --/
|
||||
|
||||
< forbid 9?=ABCDEFfGILMNPTUXZ<
|
||||
|
||||
/^\pC\pL\pM\pN\pP\pS\pZ</8
|
||||
\x7f\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}<
|
||||
@ -325,12 +327,6 @@
|
||||
** Failers
|
||||
abc
|
||||
|
||||
/\p{Lu}/8i
|
||||
A
|
||||
aZ
|
||||
** Failers
|
||||
abc
|
||||
|
||||
/\p{Ll}/8
|
||||
a
|
||||
Az
|
||||
@ -425,6 +421,7 @@
|
||||
/^[\p{Arabic}]/8
|
||||
\x{06e9}
|
||||
\x{060b}
|
||||
\x{061c}
|
||||
** Failers
|
||||
X\x{06e9}
|
||||
|
||||
@ -882,6 +879,15 @@
|
||||
\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
|
||||
\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
|
||||
|
||||
/\X*Z/8Y
|
||||
A\x{300}
|
||||
|
||||
/\X*(.)/8Y
|
||||
A\x{1111}\x{ae4c}\x{1169}
|
||||
|
||||
/\X?abc/8Y
|
||||
\xff\x7f\x00\x00\x03\x00\x41\xcc\x80\x41\x{300}\x61\x62\x63\x00\>06\?
|
||||
|
||||
/-- --/
|
||||
|
||||
/\x{1e9e}+/8i
|
||||
@ -1316,4 +1322,175 @@
|
||||
/\x{017f}+/8i
|
||||
\x{0053}\x{0073}\x{017f}
|
||||
|
||||
/^\p{Any}*\d{4}/8
|
||||
1234
|
||||
123
|
||||
|
||||
/^\X*\w{4}/8
|
||||
1234
|
||||
123
|
||||
|
||||
/^A\s+Z/8W
|
||||
A\x{2005}Z
|
||||
A\x{85}\x{180e}\x{2005}Z
|
||||
|
||||
/^A[\s]+Z/8W
|
||||
A\x{2005}Z
|
||||
A\x{85}\x{180e}\x{2005}Z
|
||||
|
||||
/^[[:graph:]]+$/8W
|
||||
Letter:ABC
|
||||
Mark:\x{300}\x{1d172}\x{1d17b}
|
||||
Number:9\x{660}
|
||||
Punctuation:\x{66a},;
|
||||
Symbol:\x{6de}<>\x{fffc}
|
||||
Cf-property:\x{ad}\x{600}\x{601}\x{602}\x{603}\x{604}\x{6dd}\x{70f}
|
||||
\x{200b}\x{200c}\x{200d}\x{200e}\x{200f}
|
||||
\x{202a}\x{202b}\x{202c}\x{202d}\x{202e}
|
||||
\x{2060}\x{2061}\x{2062}\x{2063}\x{2064}
|
||||
\x{206a}\x{206b}\x{206c}\x{206d}\x{206e}\x{206f}
|
||||
\x{feff}
|
||||
\x{fff9}\x{fffa}\x{fffb}
|
||||
\x{110bd}
|
||||
\x{1d173}\x{1d174}\x{1d175}\x{1d176}\x{1d177}\x{1d178}\x{1d179}\x{1d17a}
|
||||
\x{e0001}
|
||||
\x{e0020}\x{e0030}\x{e0040}\x{e0050}\x{e0060}\x{e0070}\x{e007f}
|
||||
** Failers
|
||||
\x{09}
|
||||
\x{0a}
|
||||
\x{1D}
|
||||
\x{20}
|
||||
\x{85}
|
||||
\x{a0}
|
||||
\x{61c}
|
||||
\x{1680}
|
||||
\x{180e}
|
||||
\x{2028}
|
||||
\x{2029}
|
||||
\x{202f}
|
||||
\x{2065}
|
||||
\x{2066}
|
||||
\x{2067}
|
||||
\x{2068}
|
||||
\x{2069}
|
||||
\x{3000}
|
||||
\x{e0002}
|
||||
\x{e001f}
|
||||
\x{e0080}
|
||||
|
||||
/^[[:print:]]+$/8W
|
||||
Space: \x{a0}
|
||||
\x{1680}\x{2000}\x{2001}\x{2002}\x{2003}\x{2004}\x{2005}
|
||||
\x{2006}\x{2007}\x{2008}\x{2009}\x{200a}
|
||||
\x{202f}\x{205f}
|
||||
\x{3000}
|
||||
Letter:ABC
|
||||
Mark:\x{300}\x{1d172}\x{1d17b}
|
||||
Number:9\x{660}
|
||||
Punctuation:\x{66a},;
|
||||
Symbol:\x{6de}<>\x{fffc}
|
||||
Cf-property:\x{ad}\x{600}\x{601}\x{602}\x{603}\x{604}\x{6dd}\x{70f}
|
||||
\x{180e}
|
||||
\x{200b}\x{200c}\x{200d}\x{200e}\x{200f}
|
||||
\x{202a}\x{202b}\x{202c}\x{202d}\x{202e}
|
||||
\x{202f}
|
||||
\x{2060}\x{2061}\x{2062}\x{2063}\x{2064}
|
||||
\x{206a}\x{206b}\x{206c}\x{206d}\x{206e}\x{206f}
|
||||
\x{feff}
|
||||
\x{fff9}\x{fffa}\x{fffb}
|
||||
\x{110bd}
|
||||
\x{1d173}\x{1d174}\x{1d175}\x{1d176}\x{1d177}\x{1d178}\x{1d179}\x{1d17a}
|
||||
\x{e0001}
|
||||
\x{e0020}\x{e0030}\x{e0040}\x{e0050}\x{e0060}\x{e0070}\x{e007f}
|
||||
** Failers
|
||||
\x{09}
|
||||
\x{1D}
|
||||
\x{85}
|
||||
\x{61c}
|
||||
\x{2028}
|
||||
\x{2029}
|
||||
\x{2065}
|
||||
\x{2066}
|
||||
\x{2067}
|
||||
\x{2068}
|
||||
\x{2069}
|
||||
\x{e0002}
|
||||
\x{e001f}
|
||||
\x{e0080}
|
||||
|
||||
/^[[:punct:]]+$/8W
|
||||
\$+<=>^`|~
|
||||
!\"#%&'()*,-./:;?@[\\]_{}
|
||||
\x{a1}\x{a7}
|
||||
\x{37e}
|
||||
** Failers
|
||||
abcde
|
||||
|
||||
/^[[:^graph:]]+$/8W
|
||||
\x{09}\x{0a}\x{1D}\x{20}\x{85}\x{a0}\x{61c}\x{1680}\x{180e}
|
||||
\x{2028}\x{2029}\x{202f}\x{2065}\x{2066}\x{2067}\x{2068}\x{2069}
|
||||
\x{3000}\x{e0002}\x{e001f}\x{e0080}
|
||||
** Failers
|
||||
Letter:ABC
|
||||
Mark:\x{300}\x{1d172}\x{1d17b}
|
||||
Number:9\x{660}
|
||||
Punctuation:\x{66a},;
|
||||
Symbol:\x{6de}<>\x{fffc}
|
||||
Cf-property:\x{ad}\x{600}\x{601}\x{602}\x{603}\x{604}\x{6dd}\x{70f}
|
||||
\x{200b}\x{200c}\x{200d}\x{200e}\x{200f}
|
||||
\x{202a}\x{202b}\x{202c}\x{202d}\x{202e}
|
||||
\x{2060}\x{2061}\x{2062}\x{2063}\x{2064}
|
||||
\x{206a}\x{206b}\x{206c}\x{206d}\x{206e}\x{206f}
|
||||
\x{feff}
|
||||
\x{fff9}\x{fffa}\x{fffb}
|
||||
\x{110bd}
|
||||
\x{1d173}\x{1d174}\x{1d175}\x{1d176}\x{1d177}\x{1d178}\x{1d179}\x{1d17a}
|
||||
\x{e0001}
|
||||
\x{e0020}\x{e0030}\x{e0040}\x{e0050}\x{e0060}\x{e0070}\x{e007f}
|
||||
|
||||
/^[[:^print:]]+$/8W
|
||||
\x{09}\x{1D}\x{85}\x{61c}\x{2028}\x{2029}\x{2065}\x{2066}\x{2067}
|
||||
\x{2068}\x{2069}\x{e0002}\x{e001f}\x{e0080}
|
||||
** Failers
|
||||
Space: \x{a0}
|
||||
\x{1680}\x{2000}\x{2001}\x{2002}\x{2003}\x{2004}\x{2005}
|
||||
\x{2006}\x{2007}\x{2008}\x{2009}\x{200a}
|
||||
\x{202f}\x{205f}
|
||||
\x{3000}
|
||||
Letter:ABC
|
||||
Mark:\x{300}\x{1d172}\x{1d17b}
|
||||
Number:9\x{660}
|
||||
Punctuation:\x{66a},;
|
||||
Symbol:\x{6de}<>\x{fffc}
|
||||
Cf-property:\x{ad}\x{600}\x{601}\x{602}\x{603}\x{604}\x{6dd}\x{70f}
|
||||
\x{180e}
|
||||
\x{200b}\x{200c}\x{200d}\x{200e}\x{200f}
|
||||
\x{202a}\x{202b}\x{202c}\x{202d}\x{202e}
|
||||
\x{202f}
|
||||
\x{2060}\x{2061}\x{2062}\x{2063}\x{2064}
|
||||
\x{206a}\x{206b}\x{206c}\x{206d}\x{206e}\x{206f}
|
||||
\x{feff}
|
||||
\x{fff9}\x{fffa}\x{fffb}
|
||||
\x{110bd}
|
||||
\x{1d173}\x{1d174}\x{1d175}\x{1d176}\x{1d177}\x{1d178}\x{1d179}\x{1d17a}
|
||||
\x{e0001}
|
||||
\x{e0020}\x{e0030}\x{e0040}\x{e0050}\x{e0060}\x{e0070}\x{e007f}
|
||||
|
||||
/^[[:^punct:]]+$/8W
|
||||
abcde
|
||||
** Failers
|
||||
\$+<=>^`|~
|
||||
!\"#%&'()*,-./:;?@[\\]_{}
|
||||
\x{a1}\x{a7}
|
||||
\x{37e}
|
||||
|
||||
/[RST]+/8iW
|
||||
Ss\x{17f}
|
||||
|
||||
/[R-T]+/8iW
|
||||
Ss\x{17f}
|
||||
|
||||
/[q-u]+/8iW
|
||||
Ss\x{17f}
|
||||
|
||||
/-- End of testinput6 --/
|
||||
|
Reference in New Issue
Block a user