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:
81
tools/pcre/testdata/testoutput17
vendored
81
tools/pcre/testdata/testoutput17
vendored
@ -1,6 +1,8 @@
|
||||
/-- This set of tests is for the 16- and 32-bit library's basic (non-UTF-16
|
||||
or -32) features that are not compatible with the 8-bit library, or which
|
||||
give different output in 16- or 32-bit mode. --/
|
||||
|
||||
< forbid 8W
|
||||
|
||||
/a\Cb/
|
||||
aXb
|
||||
@ -226,7 +228,7 @@ Options: extended
|
||||
No first char
|
||||
No need char
|
||||
Subject length lower bound = 3
|
||||
Starting byte set: \x09 \x20 ! " # $ % & ' ( * + - / 0 1 2 3 4 5 6 7 8
|
||||
Starting chars: \x09 \x20 ! " # $ % & ' ( * + - / 0 1 2 3 4 5 6 7 8
|
||||
9 = ? A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ^ _ ` a b c d e
|
||||
f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f \xff
|
||||
|
||||
@ -243,7 +245,7 @@ Starting byte set: \x09 \x20 ! " # $ % & ' ( * + - / 0 1 2 3 4 5 6 7 8
|
||||
/[\h]+/BZ
|
||||
------------------------------------------------------------------
|
||||
Bra
|
||||
[\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]+
|
||||
[\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]++
|
||||
Ket
|
||||
End
|
||||
------------------------------------------------------------------
|
||||
@ -272,7 +274,7 @@ No options
|
||||
No first char
|
||||
No need char
|
||||
Subject length lower bound = 1
|
||||
Starting byte set: \x09 \x20 \xa0 \xff
|
||||
Starting chars: \x09 \x20 \xa0 \xff
|
||||
\x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
|
||||
0: \x{1680}\x{2000}\x{202f}\x{3000}
|
||||
\x{3001}\x{2fff}\x{200a}\xa0\x{2000}
|
||||
@ -281,7 +283,7 @@ Starting byte set: \x09 \x20 \xa0 \xff
|
||||
/[\h\x{dc00}]+/BZSI
|
||||
------------------------------------------------------------------
|
||||
Bra
|
||||
[\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}\x{dc00}]+
|
||||
[\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}\x{dc00}]++
|
||||
Ket
|
||||
End
|
||||
------------------------------------------------------------------
|
||||
@ -290,7 +292,7 @@ No options
|
||||
No first char
|
||||
No need char
|
||||
Subject length lower bound = 1
|
||||
No set of starting bytes
|
||||
Starting chars: \x09 \x20 \xa0 \xff
|
||||
\x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
|
||||
0: \x{1680}\x{2000}\x{202f}\x{3000}
|
||||
\x{3001}\x{2fff}\x{200a}\xa0\x{2000}
|
||||
@ -302,7 +304,7 @@ No options
|
||||
No first char
|
||||
No need char
|
||||
Subject length lower bound = 1
|
||||
No set of starting bytes
|
||||
No starting char list
|
||||
\x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
|
||||
0: \x{167f}\x{1681}\x{180d}\x{180f}
|
||||
\x{2000}\x{200a}\x{1fff}\x{200b}
|
||||
@ -328,7 +330,7 @@ No options
|
||||
No first char
|
||||
No need char
|
||||
Subject length lower bound = 1
|
||||
Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
|
||||
Starting chars: \x0a \x0b \x0c \x0d \x85 \xff
|
||||
\x{2027}\x{2030}\x{2028}\x{2029}
|
||||
0: \x{2028}\x{2029}
|
||||
\x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
|
||||
@ -337,7 +339,7 @@ Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
|
||||
/[\v\x{dc00}]+/BZSI
|
||||
------------------------------------------------------------------
|
||||
Bra
|
||||
[\x0a-\x0d\x85\x{2028}-\x{2029}\x{dc00}]+
|
||||
[\x0a-\x0d\x85\x{2028}-\x{2029}\x{dc00}]++
|
||||
Ket
|
||||
End
|
||||
------------------------------------------------------------------
|
||||
@ -346,7 +348,7 @@ No options
|
||||
No first char
|
||||
No need char
|
||||
Subject length lower bound = 1
|
||||
No set of starting bytes
|
||||
Starting chars: \x0a \x0b \x0c \x0d \x85 \xff
|
||||
\x{2027}\x{2030}\x{2028}\x{2029}
|
||||
0: \x{2028}\x{2029}
|
||||
\x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
|
||||
@ -358,7 +360,7 @@ No options
|
||||
No first char
|
||||
No need char
|
||||
Subject length lower bound = 1
|
||||
No set of starting bytes
|
||||
No starting char list
|
||||
\x{2028}\x{2029}\x{2027}\x{2030}
|
||||
0: \x{2027}\x{2030}
|
||||
\x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
|
||||
@ -376,7 +378,7 @@ Options: bsr_unicode
|
||||
No first char
|
||||
No need char
|
||||
Subject length lower bound = 1
|
||||
Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
|
||||
Starting chars: \x0a \x0b \x0c \x0d \x85 \xff
|
||||
\x{2027}\x{2030}\x{2028}\x{2029}
|
||||
0: \x{2028}\x{2029}
|
||||
\x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
|
||||
@ -440,10 +442,8 @@ Need char = \x{dd00}
|
||||
/i [^\x{8000}]*
|
||||
/i [^\x{7fff}]{2}
|
||||
/i [^\x{7fff}]{0,7}?
|
||||
Once
|
||||
/i [^\x{100}]{5}
|
||||
/i [^\x{100}]?
|
||||
Ket
|
||||
/i [^\x{100}]?+
|
||||
Ket
|
||||
End
|
||||
------------------------------------------------------------------
|
||||
@ -502,4 +502,57 @@ MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789AB
|
||||
\x{ffff}
|
||||
0: \x{ffff}
|
||||
|
||||
/[^\x00-a]{12,}[^b-\xff]*/BZ
|
||||
------------------------------------------------------------------
|
||||
Bra
|
||||
[b-\xff] (neg){12,}
|
||||
[\x00-a] (neg)*+
|
||||
Ket
|
||||
End
|
||||
------------------------------------------------------------------
|
||||
|
||||
/[^\s]*\s* [^\W]+\W+ [^\d]*?\d0 [^\d\w]{4,6}?\w*A/BZ
|
||||
------------------------------------------------------------------
|
||||
Bra
|
||||
[\x00-\x08\x0e-\x1f!-\xff] (neg)*
|
||||
\s*
|
||||
|
||||
[0-9A-Z_a-z]++
|
||||
\W+
|
||||
|
||||
[\x00-/:-\xff] (neg)*?
|
||||
\d
|
||||
0
|
||||
[\x00-/:-@[-^`{-\xff] (neg){4,6}?
|
||||
\w*
|
||||
A
|
||||
Ket
|
||||
End
|
||||
------------------------------------------------------------------
|
||||
|
||||
/a*[b-\x{200}]?a#a*[b-\x{200}]?b#[a-f]*[g-\x{200}]*#[g-\x{200}]*[a-c]*#[g-\x{200}]*[a-h]*/BZ
|
||||
------------------------------------------------------------------
|
||||
Bra
|
||||
a*
|
||||
[b-\xff\x{100}-\x{200}]?+
|
||||
a#
|
||||
a*+
|
||||
[b-\xff\x{100}-\x{200}]?
|
||||
b#
|
||||
[a-f]*+
|
||||
[g-\xff\x{100}-\x{200}]*+
|
||||
#
|
||||
[g-\xff\x{100}-\x{200}]*+
|
||||
[a-c]*+
|
||||
#
|
||||
[g-\xff\x{100}-\x{200}]*
|
||||
[a-h]*+
|
||||
Ket
|
||||
End
|
||||
------------------------------------------------------------------
|
||||
|
||||
/^[\x{1234}\x{4321}]{2,4}?/
|
||||
\x{1234}\x{1234}\x{1234}
|
||||
0: \x{1234}\x{1234}
|
||||
|
||||
/-- End of testinput17 --/
|
||||
|
Reference in New Issue
Block a user