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:
72
tools/pcre/testdata/testoutput14
vendored
72
tools/pcre/testdata/testoutput14
vendored
@ -1,6 +1,9 @@
|
||||
/-- This set of tests is run only with the 8-bit library. It starts with all
|
||||
the tests of the POSIX interface, because that is supported only with the
|
||||
8-bit library. --/
|
||||
/-- This set of tests is run only with the 8-bit library. They do not require
|
||||
UTF-8 or Unicode property support. The file starts with all the tests of
|
||||
the POSIX interface, because that is supported only with the 8-bit library.
|
||||
--/
|
||||
|
||||
< forbid 8W
|
||||
|
||||
/abc/P
|
||||
abc
|
||||
@ -146,10 +149,17 @@ No match
|
||||
A\x{123}B
|
||||
** Character \x{123} is greater than 255 and UTF-8 mode is not enabled.
|
||||
** Truncation will probably give the wrong result.
|
||||
No match
|
||||
A\o{443}B
|
||||
** Character \x{123} is greater than 255 and UTF-8 mode is not enabled.
|
||||
** Truncation will probably give the wrong result.
|
||||
No match
|
||||
|
||||
/\x{100}/I
|
||||
Failed: character value in \x{...} sequence is too large at offset 6
|
||||
Failed: character value in \x{} or \o{} is too large at offset 6
|
||||
|
||||
/\o{400}/I
|
||||
Failed: character value in \x{} or \o{} is too large at offset 6
|
||||
|
||||
/ (?: [\040\t] | \(
|
||||
(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
|
||||
@ -351,7 +361,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
|
||||
|
||||
@ -378,7 +388,15 @@ No options
|
||||
No first char
|
||||
No need char
|
||||
Subject length lower bound = 1
|
||||
Starting byte set: \x09 \x20 \xa0
|
||||
Starting chars: \x09 \x20 \xa0
|
||||
|
||||
/\H/SI
|
||||
Capturing subpattern count = 0
|
||||
No options
|
||||
No first char
|
||||
No need char
|
||||
Subject length lower bound = 1
|
||||
No starting char list
|
||||
|
||||
/\v/SI
|
||||
Capturing subpattern count = 0
|
||||
@ -386,7 +404,15 @@ No options
|
||||
No first char
|
||||
No need char
|
||||
Subject length lower bound = 1
|
||||
Starting byte set: \x0a \x0b \x0c \x0d \x85
|
||||
Starting chars: \x0a \x0b \x0c \x0d \x85
|
||||
|
||||
/\V/SI
|
||||
Capturing subpattern count = 0
|
||||
No options
|
||||
No first char
|
||||
No need char
|
||||
Subject length lower bound = 1
|
||||
No starting char list
|
||||
|
||||
/\R/SI
|
||||
Capturing subpattern count = 0
|
||||
@ -394,7 +420,7 @@ No options
|
||||
No first char
|
||||
No need char
|
||||
Subject length lower bound = 1
|
||||
Starting byte set: \x0a \x0b \x0c \x0d \x85
|
||||
Starting chars: \x0a \x0b \x0c \x0d \x85
|
||||
|
||||
/[\h]/BZ
|
||||
------------------------------------------------------------------
|
||||
@ -409,7 +435,7 @@ Starting byte set: \x0a \x0b \x0c \x0d \x85
|
||||
/[\h]+/BZ
|
||||
------------------------------------------------------------------
|
||||
Bra
|
||||
[\x09 \xa0]+
|
||||
[\x09 \xa0]++
|
||||
Ket
|
||||
End
|
||||
------------------------------------------------------------------
|
||||
@ -473,4 +499,32 @@ Failed: character value in \u.... sequence is too large at offset 5
|
||||
/[\u0100-\u0200]/<JS>
|
||||
Failed: character value in \u.... sequence is too large at offset 6
|
||||
|
||||
/[^\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
|
||||
------------------------------------------------------------------
|
||||
|
||||
/-- End of testinput14 --/
|
||||
|
Reference in New Issue
Block a user