Don't say "No options" or "No first/last code unit"; simplifies pcre2test

output.
This commit is contained in:
Philip.Hazel 2014-08-10 16:32:58 +00:00
parent 4d228f42ce
commit bcfa6a7d5b
17 changed files with 11 additions and 1087 deletions

View File

@ -3114,14 +3114,15 @@ if ((pat_patctl.control & CTL_INFO) != 0)
overall_options &= ~PCRE2_NEVER_UCP;
}
if ((compile_options|overall_options) == 0)
fprintf(outfile, "No options\n");
else if (compile_options == overall_options)
show_compile_options(compile_options, "Options:", "\n");
else
if ((compile_options|overall_options) != 0)
{
show_compile_options(compile_options, "Compile options:", "\n");
show_compile_options(overall_options, "Overall options:", "\n");
if (compile_options == overall_options)
show_compile_options(compile_options, "Options:", "\n");
else
{
show_compile_options(compile_options, "Compile options:", "\n");
show_compile_options(overall_options, "Overall options:", "\n");
}
}
if (jchanged) fprintf(outfile, "Duplicate name status changes\n");
@ -3207,16 +3208,8 @@ if ((pat_patctl.control & CTL_INFO) != 0)
}
fprintf(outfile, "\n");
}
else
{
fprintf(outfile, "No first code unit\n");
}
if (last_ctype == 0)
{
fprintf(outfile, "No last code unit\n");
}
else
if (last_ctype != 0)
{
const char *caseless =
((FLD(compiled_code, flags) & PCRE2_LASTCASELESS) == 0)?

42
testdata/testoutput10 vendored
View File

@ -490,7 +490,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
\xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee
\xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd
\xfe \xff
No last code unit
Subject length lower bound = 1
\x{f1}
0: \x{f1}
@ -537,7 +536,6 @@ Subject length lower bound = 3
Capturing subpattern count = 1
Options: utf
Starting code units: x \xc4
No last code unit
Subject length lower bound = 1
/(\x{100}*a|x)/IB,utf
@ -555,7 +553,6 @@ Subject length lower bound = 1
Capturing subpattern count = 1
Options: utf
Starting code units: a x \xc4
No last code unit
Subject length lower bound = 1
/(\x{100}{0,2}a|x)/IB,utf
@ -573,7 +570,6 @@ Subject length lower bound = 1
Capturing subpattern count = 1
Options: utf
Starting code units: a x \xc4
No last code unit
Subject length lower bound = 1
/(\x{100}{1,2}a|x)/IB,utf
@ -592,7 +588,6 @@ Subject length lower bound = 1
Capturing subpattern count = 1
Options: utf
Starting code units: x \xc4
No last code unit
Subject length lower bound = 1
/\x{100}/IB,utf
@ -644,9 +639,6 @@ Subject length lower bound = 3
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
/[\x{100}]/IB,utf
@ -694,8 +686,6 @@ Subject length lower bound = 1
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf
No first code unit
No last code unit
Subject length lower bound = 1
/\x{100}abc(xyz(?1))/IB,utf
@ -803,7 +793,6 @@ Subject length lower bound = 3
Capturing subpattern count = 0
Options: utf
Starting code units: \x09 \x20 \xc2 \xe1 \xe2 \xe3
No last code unit
Subject length lower bound = 1
ABC\x{09}
0: \x{09}
@ -828,7 +817,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
Starting code units: \x0a \x0b \x0c \x0d \xc2 \xe2
No last code unit
Subject length lower bound = 1
ABC\x{0a}
0: \x{0a}
@ -914,28 +902,24 @@ Failed: error -34: bad offset value
Capturing subpattern count = 0
Options: caseless utf
Starting code units: \xe1
No last code unit
Subject length lower bound = 1
/\x{1234}+?/Ii,utf
Capturing subpattern count = 0
Options: caseless utf
Starting code units: \xe1
No last code unit
Subject length lower bound = 1
/\x{1234}++/Ii,utf
Capturing subpattern count = 0
Options: caseless utf
Starting code units: \xe1
No last code unit
Subject length lower bound = 1
/\x{1234}{2}/Ii,utf
Capturing subpattern count = 0
Options: caseless utf
Starting code units: \xe1
No last code unit
Subject length lower bound = 2
/[^\x{c4}]/IB,utf
@ -947,8 +931,6 @@ Subject length lower bound = 2
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf
No first code unit
No last code unit
Subject length lower bound = 1
/X+\x{200}/IB,utf
@ -969,7 +951,6 @@ Subject length lower bound = 2
Capturing subpattern count = 0
Options: utf
Starting code units: \x0a \x0b \x0c \x0d \xc2 \xe2
No last code unit
Subject length lower bound = 1
/\777/IB,utf
@ -1143,7 +1124,6 @@ Failed: error 174 at offset 0: using UTF is disabled by the application
Capturing subpattern count = 0
Options: caseless utf
First code unit = 'A' (caseless)
No last code unit
Subject length lower bound = 5
/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/IB,utf
@ -1189,7 +1169,6 @@ Subject length lower bound = 3
Capturing subpattern count = 0
Options: caseless utf
Starting code units: \xd0 \xd1
No last code unit
Subject length lower bound = 17
\x{401}\x{420}\x{421}\x{422}\x{423}\x{424}\x{425}\x{426}\x{427}\x{428}\x{429}\x{42a}\x{42b}\x{42c}\x{42d}\x{42e}\x{42f}
0: \x{401}\x{420}\x{421}\x{422}\x{423}\x{424}\x{425}\x{426}\x{427}\x{428}\x{429}\x{42a}\x{42b}\x{42c}\x{42d}\x{42e}\x{42f}
@ -1214,23 +1193,17 @@ Subject length lower bound = 17
/\h/I
Capturing subpattern count = 0
No options
Starting code units: \x09 \x20 \xa0
No last code unit
Subject length lower bound = 1
/\v/I
Capturing subpattern count = 0
No options
Starting code units: \x0a \x0b \x0c \x0d \x85
No last code unit
Subject length lower bound = 1
/\R/I
Capturing subpattern count = 0
No options
Starting code units: \x0a \x0b \x0c \x0d \x85
No last code unit
Subject length lower bound = 1
/[[:blank:]]/B,ucp
@ -1245,7 +1218,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: caseless utf
Starting code units: K k \xe2
No last code unit
Subject length lower bound = 1
KKkk\x{212a}
0: KKkk\x{212a}
@ -1254,7 +1226,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: caseless utf
Starting code units: S s \xc5
No last code unit
Subject length lower bound = 1
SSss\x{17f}
0: SSss\x{17f}
@ -1287,7 +1258,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
Starting code units: 0 1 2 3 4 5 6 7 8 9 \xc4
No last code unit
Subject length lower bound = 1
/[Z\x{100}]/IB,utf
@ -1304,7 +1274,6 @@ Starting code units: Z \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd
\xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb
\xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa
\xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
Z\x{100}
0: Z
@ -1329,7 +1298,6 @@ Starting code units: z { | } ~ \x7f \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9
\xd9 \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7
\xe8 \xe9 \xea \xeb \xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6
\xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
/[z\Qa-d]Ā\E]/IB,utf
@ -1346,7 +1314,6 @@ Starting code units: - ] a d z \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc
\xdc \xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea
\xeb \xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9
\xfa \xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
\x{100}
0: \x{100}
@ -1386,7 +1353,6 @@ Subject length lower bound = 7
Capturing subpattern count = 0
Options: utf
Starting code units: \x09 \x0a \x0b \x0c \x0d \x20 \xc4
No last code unit
Subject length lower bound = 1
/\x{100}*\d/IB,utf
@ -1400,7 +1366,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
Starting code units: 0 1 2 3 4 5 6 7 8 9 \xc4
No last code unit
Subject length lower bound = 1
/\x{100}*\w/IB,utf
@ -1416,7 +1381,6 @@ Options: utf
Starting code units: 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
\xc4
No last code unit
Subject length lower bound = 1
/\x{100}*\D/IB,utf
@ -1439,7 +1403,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
\xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef
\xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe
\xff
No last code unit
Subject length lower bound = 1
/\x{100}*\S/IB,utf
@ -1461,7 +1424,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0e \x0f
\xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1 \xe2
\xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef \xf0 \xf1
\xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
/\x{100}*\W/IB,utf
@ -1482,7 +1444,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
\xd9 \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7
\xe8 \xe9 \xea \xeb \xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6
\xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
/[\x{105}-\x{109}]/IBi,utf
@ -1499,7 +1460,6 @@ Starting code units: \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce
\xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec
\xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb
\xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
\x{104}
0: \x{104}
@ -1528,7 +1488,6 @@ Starting code units: Z z { | } ~ \x7f \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8
\xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6
\xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5
\xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
Z
0: Z
@ -1571,7 +1530,6 @@ Starting code units: Z z { | } ~ \x7f \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8
\xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6
\xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5
\xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
/\x{3a3}B/IBi,utf

View File

@ -19,16 +19,11 @@
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
/\x{100}/I
Capturing subpattern count = 0
No options
First code unit = \x{100}
No last code unit
Subject length lower bound = 1
/ (?: [\040\t] | \(
@ -231,7 +226,6 @@ Options: extended
Starting code units: \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
No last code unit
Subject length lower bound = 3
/[\h]/B
@ -272,9 +266,7 @@ Subject length lower bound = 3
/\h+/I
Capturing subpattern count = 0
No options
Starting code units: \x09 \x20 \xa0 \xff
No last code unit
Subject length lower bound = 1
\x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
0: \x{1680}\x{2000}\x{202f}\x{3000}
@ -289,9 +281,7 @@ Subject length lower bound = 1
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
Starting code units: \x09 \x20 \xa0 \xff
No last code unit
Subject length lower bound = 1
\x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
0: \x{1680}\x{2000}\x{202f}\x{3000}
@ -300,9 +290,6 @@ Subject length lower bound = 1
/\H+/I
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
\x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
0: \x{167f}\x{1681}\x{180d}\x{180f}
@ -325,9 +312,7 @@ Subject length lower bound = 1
/\v+/I
Capturing subpattern count = 0
No options
Starting code units: \x0a \x0b \x0c \x0d \x85 \xff
No last code unit
Subject length lower bound = 1
\x{2027}\x{2030}\x{2028}\x{2029}
0: \x{2028}\x{2029}
@ -342,9 +327,7 @@ Subject length lower bound = 1
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
Starting code units: \x0a \x0b \x0c \x0d \x85 \xff
No last code unit
Subject length lower bound = 1
\x{2027}\x{2030}\x{2028}\x{2029}
0: \x{2028}\x{2029}
@ -353,9 +336,6 @@ Subject length lower bound = 1
/\V+/I
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
\x{2028}\x{2029}\x{2027}\x{2030}
0: \x{2027}\x{2030}
@ -370,10 +350,8 @@ Subject length lower bound = 1
/\R+/I,bsr=unicode
Capturing subpattern count = 0
No options
\R matches any Unicode newline
Starting code units: \x0a \x0b \x0c \x0d \x85 \xff
No last code unit
Subject length lower bound = 1
\x{2027}\x{2030}\x{2028}\x{2029}
0: \x{2028}\x{2029}
@ -382,7 +360,6 @@ Subject length lower bound = 1
/\x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}/I
Capturing subpattern count = 0
No options
First code unit = \x{d800}
Last code unit = \x{dd00}
Subject length lower bound = 6
@ -629,7 +606,6 @@ Failed: error 134 at offset 9: character code point value in \x{} or \o{} is too
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0a \x0b
\x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a
\x1b \x1c \x1d \x1e \x1f ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9
@ -644,7 +620,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0a \x0b
\xdc \xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea
\xeb \xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9
\xfa \xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
/[\V]/IB
@ -655,7 +630,6 @@ Subject length lower bound = 1
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0e
\x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a \x1b \x1c \x1d
\x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = >
@ -670,7 +644,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0e
\xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec
\xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb
\xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
# End of testinput11

View File

@ -19,16 +19,11 @@
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
/\x{100}/I
Capturing subpattern count = 0
No options
First code unit = \x{100}
No last code unit
Subject length lower bound = 1
/ (?: [\040\t] | \(
@ -231,7 +226,6 @@ Options: extended
Starting code units: \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
No last code unit
Subject length lower bound = 3
/[\h]/B
@ -272,9 +266,7 @@ Subject length lower bound = 3
/\h+/I
Capturing subpattern count = 0
No options
Starting code units: \x09 \x20 \xa0 \xff
No last code unit
Subject length lower bound = 1
\x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
0: \x{1680}\x{2000}\x{202f}\x{3000}
@ -289,9 +281,7 @@ Subject length lower bound = 1
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
Starting code units: \x09 \x20 \xa0 \xff
No last code unit
Subject length lower bound = 1
\x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
0: \x{1680}\x{2000}\x{202f}\x{3000}
@ -300,9 +290,6 @@ Subject length lower bound = 1
/\H+/I
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
\x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
0: \x{167f}\x{1681}\x{180d}\x{180f}
@ -325,9 +312,7 @@ Subject length lower bound = 1
/\v+/I
Capturing subpattern count = 0
No options
Starting code units: \x0a \x0b \x0c \x0d \x85 \xff
No last code unit
Subject length lower bound = 1
\x{2027}\x{2030}\x{2028}\x{2029}
0: \x{2028}\x{2029}
@ -342,9 +327,7 @@ Subject length lower bound = 1
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
Starting code units: \x0a \x0b \x0c \x0d \x85 \xff
No last code unit
Subject length lower bound = 1
\x{2027}\x{2030}\x{2028}\x{2029}
0: \x{2028}\x{2029}
@ -353,9 +336,6 @@ Subject length lower bound = 1
/\V+/I
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
\x{2028}\x{2029}\x{2027}\x{2030}
0: \x{2027}\x{2030}
@ -370,10 +350,8 @@ Subject length lower bound = 1
/\R+/I,bsr=unicode
Capturing subpattern count = 0
No options
\R matches any Unicode newline
Starting code units: \x0a \x0b \x0c \x0d \x85 \xff
No last code unit
Subject length lower bound = 1
\x{2027}\x{2030}\x{2028}\x{2029}
0: \x{2028}\x{2029}
@ -382,7 +360,6 @@ Subject length lower bound = 1
/\x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}/I
Capturing subpattern count = 0
No options
First code unit = \x{d800}
Last code unit = \x{dd00}
Subject length lower bound = 6
@ -587,21 +564,18 @@ Failed: error 134 at offset 14: character code point value in \x{} or \o{} is to
/\x{7fffffff}\x{7fffffff}/I
Capturing subpattern count = 0
No options
First code unit = \x{7fffffff}
Last code unit = \x{7fffffff}
Subject length lower bound = 2
/\x{80000000}\x{80000000}/I
Capturing subpattern count = 0
No options
First code unit = \x{80000000}
Last code unit = \x{80000000}
Subject length lower bound = 2
/\x{ffffffff}\x{ffffffff}/I
Capturing subpattern count = 0
No options
First code unit = \x{ffffffff}
Last code unit = \x{ffffffff}
Subject length lower bound = 2
@ -635,7 +609,6 @@ Subject length lower bound = 2
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0a \x0b
\x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a
\x1b \x1c \x1d \x1e \x1f ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9
@ -650,7 +623,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0a \x0b
\xdc \xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea
\xeb \xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9
\xfa \xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
/[\V]/IB
@ -661,7 +633,6 @@ Subject length lower bound = 1
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0e
\x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a \x1b \x1c \x1d
\x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = >
@ -676,7 +647,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0e
\xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec
\xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb
\xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
# End of testinput11

View File

@ -93,7 +93,6 @@ No match
Capturing subpattern count = 0
Options: utf
First code unit = \x{ffff}
No last code unit
Subject length lower bound = 1
/\x{10000}/IB,utf
@ -119,7 +118,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{100}
No last code unit
Subject length lower bound = 1
/\x{1000}/IB,utf
@ -132,7 +130,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{1000}
No last code unit
Subject length lower bound = 1
/\x{10000}/IB,utf
@ -184,7 +181,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \xff
No last code unit
Subject length lower bound = 1
/[\x{100}]/IB,utf
@ -197,7 +193,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{100}
No last code unit
Subject length lower bound = 1
/\x80/IB,utf
@ -210,7 +205,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x80
No last code unit
Subject length lower bound = 1
/\xff/IB,utf
@ -223,7 +217,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \xff
No last code unit
Subject length lower bound = 1
/\x{D55c}\x{ad6d}\x{C5B4}/IB,utf
@ -266,7 +259,6 @@ Subject length lower bound = 3
Capturing subpattern count = 0
Options: utf
First code unit = \x80
No last code unit
Subject length lower bound = 1
/\x{084}/IB,utf
@ -279,7 +271,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x84
No last code unit
Subject length lower bound = 1
/\x{104}/IB,utf
@ -292,7 +283,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{104}
No last code unit
Subject length lower bound = 1
/\x{861}/IB,utf
@ -305,7 +295,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{861}
No last code unit
Subject length lower bound = 1
/\x{212ab}/IB,utf
@ -364,7 +353,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
\xad \xae \xaf \xb0 \xb1 \xb2 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb
\xbc \xbd \xbe \xbf \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb
\xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
\x{f1}
0: \x{f1}
@ -411,7 +399,6 @@ Subject length lower bound = 3
Capturing subpattern count = 1
Options: utf
Starting code units: x \xff
No last code unit
Subject length lower bound = 1
/(\x{100}*a|x)/IB,utf
@ -429,7 +416,6 @@ Subject length lower bound = 1
Capturing subpattern count = 1
Options: utf
Starting code units: a x \xff
No last code unit
Subject length lower bound = 1
/(\x{100}{0,2}a|x)/IB,utf
@ -447,7 +433,6 @@ Subject length lower bound = 1
Capturing subpattern count = 1
Options: utf
Starting code units: a x \xff
No last code unit
Subject length lower bound = 1
/(\x{100}{1,2}a|x)/IB,utf
@ -466,7 +451,6 @@ Subject length lower bound = 1
Capturing subpattern count = 1
Options: utf
Starting code units: x \xff
No last code unit
Subject length lower bound = 1
/\x{100}/IB,utf
@ -479,7 +463,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{100}
No last code unit
Subject length lower bound = 1
/a\x{100}\x{101}*/IB,utf
@ -518,9 +501,6 @@ Subject length lower bound = 3
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
/[\x{100}]/IB,utf
@ -533,7 +513,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{100}
No last code unit
Subject length lower bound = 1
\x{100}
0: \x{100}
@ -554,7 +533,6 @@ No match
Capturing subpattern count = 0
Options: utf
First code unit = \xff
No last code unit
Subject length lower bound = 1
>\x{ff}<
0: \x{ff}
@ -568,8 +546,6 @@ Subject length lower bound = 1
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf
No first code unit
No last code unit
Subject length lower bound = 1
/\x{100}abc(xyz(?1))/IB,utf
@ -593,7 +569,6 @@ Subject length lower bound = 7
Capturing subpattern count = 0
Options: utf
First code unit = \x{1ff}
No last code unit
Subject length lower bound = 1
\x{1ff}
0: \x{1ff}
@ -692,7 +667,6 @@ Failed: error 160 at offset 12: (*VERB) not recognized or malformed
Capturing subpattern count = 0
Options: utf
Starting code units: \x09 \x20 \xa0 \xff
No last code unit
Subject length lower bound = 1
ABC\x{09}
0: \x{09}
@ -717,7 +691,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
Starting code units: \x0a \x0b \x0c \x0d \x85 \xff
No last code unit
Subject length lower bound = 1
ABC\x{0a}
0: \x{0a}
@ -822,21 +795,18 @@ Failed: error -34: bad offset value
Capturing subpattern count = 0
Options: caseless utf
First code unit = \x{1234}
No last code unit
Subject length lower bound = 1
/\x{1234}+?/Ii,utf
Capturing subpattern count = 0
Options: caseless utf
First code unit = \x{1234}
No last code unit
Subject length lower bound = 1
/\x{1234}++/Ii,utf
Capturing subpattern count = 0
Options: caseless utf
First code unit = \x{1234}
No last code unit
Subject length lower bound = 1
/\x{1234}{2}/Ii,utf
@ -855,8 +825,6 @@ Subject length lower bound = 2
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf
No first code unit
No last code unit
Subject length lower bound = 1
/X+\x{200}/IB,utf
@ -877,7 +845,6 @@ Subject length lower bound = 2
Capturing subpattern count = 0
Options: utf
Starting code units: \x0a \x0b \x0c \x0d \x85 \xff
No last code unit
Subject length lower bound = 1
# Check bad offset
@ -1132,7 +1099,6 @@ Subject length lower bound = 17
Capturing subpattern count = 0
Options: caseless utf
Starting code units: K k \xff
No last code unit
Subject length lower bound = 1
KKkk\x{212a}
0: KKkk\x{212a}
@ -1141,7 +1107,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: caseless utf
Starting code units: S s \xff
No last code unit
Subject length lower bound = 1
SSss\x{17f}
0: SSss\x{17f}
@ -1186,7 +1151,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
Starting code units: 0 1 2 3 4 5 6 7 8 9 \xff
No last code unit
Subject length lower bound = 1
/[Z\x{100}]/IB,utf
@ -1199,7 +1163,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
Starting code units: Z \xff
No last code unit
Subject length lower bound = 1
Z\x{100}
0: Z
@ -1228,7 +1191,6 @@ Starting code units: z { | } ~ \x7f \x80 \x81 \x82 \x83 \x84 \x85 \x86 \x87
\xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1
\xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef \xf0
\xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
/[z\Qa-d]Ā\E]/IB,utf
@ -1241,7 +1203,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
Starting code units: - ] a d z \xff
No last code unit
Subject length lower bound = 1
\x{100}
0: \x{100}
@ -1277,7 +1238,6 @@ Subject length lower bound = 7
Capturing subpattern count = 0
Options: utf
Starting code units: \x09 \x0a \x0b \x0c \x0d \x20 \xff
No last code unit
Subject length lower bound = 1
/\x{100}*\d/IB,utf
@ -1291,7 +1251,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
Starting code units: 0 1 2 3 4 5 6 7 8 9 \xff
No last code unit
Subject length lower bound = 1
/\x{100}*\w/IB,utf
@ -1307,7 +1266,6 @@ Options: utf
Starting code units: 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
\xff
No last code unit
Subject length lower bound = 1
/\x{100}*\D/IB,utf
@ -1334,7 +1292,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
\xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb
\xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa
\xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
/\x{100}*\S/IB,utf
@ -1361,7 +1318,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0e \x0f
\xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed
\xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc
\xfd \xfe \xff
No last code unit
Subject length lower bound = 1
/\x{100}*\W/IB,utf
@ -1386,7 +1342,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
\xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1 \xe2 \xe3
\xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef \xf0 \xf1 \xf2
\xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
/[\x{105}-\x{109}]/IBi,utf
@ -1399,7 +1354,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: caseless utf
Starting code units: \xff
No last code unit
Subject length lower bound = 1
\x{104}
0: \x{104}
@ -1433,7 +1387,6 @@ Starting code units: Z z { | } ~ \x7f \x80 \x81 \x82 \x83 \x84 \x85 \x86
\xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef
\xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe
\xff
No last code unit
Subject length lower bound = 1
Z
0: Z
@ -1481,7 +1434,6 @@ Starting code units: Z z { | } ~ \x7f \x80 \x81 \x82 \x83 \x84 \x85 \x86
\xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef
\xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe
\xff
No last code unit
Subject length lower bound = 1
/\x{3a3}B/IBi,utf

View File

@ -91,7 +91,6 @@ No match
Capturing subpattern count = 0
Options: utf
First code unit = \x{ffff}
No last code unit
Subject length lower bound = 1
/\x{10000}/IB,utf
@ -104,7 +103,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{10000}
No last code unit
Subject length lower bound = 1
/\x{100}/IB,utf
@ -117,7 +115,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{100}
No last code unit
Subject length lower bound = 1
/\x{1000}/IB,utf
@ -130,7 +127,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{1000}
No last code unit
Subject length lower bound = 1
/\x{10000}/IB,utf
@ -143,7 +139,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{10000}
No last code unit
Subject length lower bound = 1
/\x{100000}/IB,utf
@ -156,7 +151,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{100000}
No last code unit
Subject length lower bound = 1
/\x{10ffff}/IB,utf
@ -169,7 +163,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{10ffff}
No last code unit
Subject length lower bound = 1
/[\x{ff}]/IB,utf
@ -182,7 +175,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \xff
No last code unit
Subject length lower bound = 1
/[\x{100}]/IB,utf
@ -195,7 +187,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{100}
No last code unit
Subject length lower bound = 1
/\x80/IB,utf
@ -208,7 +199,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x80
No last code unit
Subject length lower bound = 1
/\xff/IB,utf
@ -221,7 +211,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \xff
No last code unit
Subject length lower bound = 1
/\x{D55c}\x{ad6d}\x{C5B4}/IB,utf
@ -264,7 +253,6 @@ Subject length lower bound = 3
Capturing subpattern count = 0
Options: utf
First code unit = \x80
No last code unit
Subject length lower bound = 1
/\x{084}/IB,utf
@ -277,7 +265,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x84
No last code unit
Subject length lower bound = 1
/\x{104}/IB,utf
@ -290,7 +277,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{104}
No last code unit
Subject length lower bound = 1
/\x{861}/IB,utf
@ -303,7 +289,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{861}
No last code unit
Subject length lower bound = 1
/\x{212ab}/IB,utf
@ -316,7 +301,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{212ab}
No last code unit
Subject length lower bound = 1
# This one is here not because it's different to Perl, but because the way
@ -362,7 +346,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
\xad \xae \xaf \xb0 \xb1 \xb2 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb
\xbc \xbd \xbe \xbf \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb
\xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
\x{f1}
0: \x{f1}
@ -409,7 +392,6 @@ Subject length lower bound = 3
Capturing subpattern count = 1
Options: utf
Starting code units: x \xff
No last code unit
Subject length lower bound = 1
/(\x{100}*a|x)/IB,utf
@ -427,7 +409,6 @@ Subject length lower bound = 1
Capturing subpattern count = 1
Options: utf
Starting code units: a x \xff
No last code unit
Subject length lower bound = 1
/(\x{100}{0,2}a|x)/IB,utf
@ -445,7 +426,6 @@ Subject length lower bound = 1
Capturing subpattern count = 1
Options: utf
Starting code units: a x \xff
No last code unit
Subject length lower bound = 1
/(\x{100}{1,2}a|x)/IB,utf
@ -464,7 +444,6 @@ Subject length lower bound = 1
Capturing subpattern count = 1
Options: utf
Starting code units: x \xff
No last code unit
Subject length lower bound = 1
/\x{100}/IB,utf
@ -477,7 +456,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{100}
No last code unit
Subject length lower bound = 1
/a\x{100}\x{101}*/IB,utf
@ -516,9 +494,6 @@ Subject length lower bound = 3
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
/[\x{100}]/IB,utf
@ -531,7 +506,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
First code unit = \x{100}
No last code unit
Subject length lower bound = 1
\x{100}
0: \x{100}
@ -552,7 +526,6 @@ No match
Capturing subpattern count = 0
Options: utf
First code unit = \xff
No last code unit
Subject length lower bound = 1
>\x{ff}<
0: \x{ff}
@ -566,8 +539,6 @@ Subject length lower bound = 1
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf
No first code unit
No last code unit
Subject length lower bound = 1
/\x{100}abc(xyz(?1))/IB,utf
@ -591,7 +562,6 @@ Subject length lower bound = 7
Capturing subpattern count = 0
Options: utf
First code unit = \x{1ff}
No last code unit
Subject length lower bound = 1
\x{1ff}
0: \x{1ff}
@ -664,7 +634,6 @@ Capturing subpattern count = 0
Compile options: <none>
Overall options: utf
First code unit = \x{11234}
No last code unit
Subject length lower bound = 1
abcd\x{11234}pqr
0: \x{11234}
@ -690,7 +659,6 @@ Subject length lower bound = 3
Capturing subpattern count = 0
Options: utf
Starting code units: \x09 \x20 \xa0 \xff
No last code unit
Subject length lower bound = 1
ABC\x{09}
0: \x{09}
@ -715,7 +683,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
Starting code units: \x0a \x0b \x0c \x0d \x85 \xff
No last code unit
Subject length lower bound = 1
ABC\x{0a}
0: \x{0a}
@ -820,21 +787,18 @@ Failed: error -34: bad offset value
Capturing subpattern count = 0
Options: caseless utf
First code unit = \x{1234}
No last code unit
Subject length lower bound = 1
/\x{1234}+?/Ii,utf
Capturing subpattern count = 0
Options: caseless utf
First code unit = \x{1234}
No last code unit
Subject length lower bound = 1
/\x{1234}++/Ii,utf
Capturing subpattern count = 0
Options: caseless utf
First code unit = \x{1234}
No last code unit
Subject length lower bound = 1
/\x{1234}{2}/Ii,utf
@ -853,8 +817,6 @@ Subject length lower bound = 2
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf
No first code unit
No last code unit
Subject length lower bound = 1
/X+\x{200}/IB,utf
@ -875,7 +837,6 @@ Subject length lower bound = 2
Capturing subpattern count = 0
Options: utf
Starting code units: \x0a \x0b \x0c \x0d \x85 \xff
No last code unit
Subject length lower bound = 1
# Check bad offset
@ -1130,7 +1091,6 @@ Subject length lower bound = 17
Capturing subpattern count = 0
Options: caseless utf
Starting code units: K k \xff
No last code unit
Subject length lower bound = 1
KKkk\x{212a}
0: KKkk\x{212a}
@ -1139,7 +1099,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: caseless utf
Starting code units: S s \xff
No last code unit
Subject length lower bound = 1
SSss\x{17f}
0: SSss\x{17f}
@ -1184,7 +1143,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
Starting code units: 0 1 2 3 4 5 6 7 8 9 \xff
No last code unit
Subject length lower bound = 1
/[Z\x{100}]/IB,utf
@ -1197,7 +1155,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
Starting code units: Z \xff
No last code unit
Subject length lower bound = 1
Z\x{100}
0: Z
@ -1226,7 +1183,6 @@ Starting code units: z { | } ~ \x7f \x80 \x81 \x82 \x83 \x84 \x85 \x86 \x87
\xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1
\xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef \xf0
\xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
/[z\Qa-d]Ā\E]/IB,utf
@ -1239,7 +1195,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
Starting code units: - ] a d z \xff
No last code unit
Subject length lower bound = 1
\x{100}
0: \x{100}
@ -1275,7 +1230,6 @@ Subject length lower bound = 7
Capturing subpattern count = 0
Options: utf
Starting code units: \x09 \x0a \x0b \x0c \x0d \x20 \xff
No last code unit
Subject length lower bound = 1
/\x{100}*\d/IB,utf
@ -1289,7 +1243,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: utf
Starting code units: 0 1 2 3 4 5 6 7 8 9 \xff
No last code unit
Subject length lower bound = 1
/\x{100}*\w/IB,utf
@ -1305,7 +1258,6 @@ Options: utf
Starting code units: 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
\xff
No last code unit
Subject length lower bound = 1
/\x{100}*\D/IB,utf
@ -1332,7 +1284,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
\xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb
\xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa
\xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
/\x{100}*\S/IB,utf
@ -1359,7 +1310,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0e \x0f
\xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed
\xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc
\xfd \xfe \xff
No last code unit
Subject length lower bound = 1
/\x{100}*\W/IB,utf
@ -1384,7 +1334,6 @@ Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
\xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1 \xe2 \xe3
\xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef \xf0 \xf1 \xf2
\xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff
No last code unit
Subject length lower bound = 1
/[\x{105}-\x{109}]/IBi,utf
@ -1397,7 +1346,6 @@ Subject length lower bound = 1
Capturing subpattern count = 0
Options: caseless utf
Starting code units: \xff
No last code unit
Subject length lower bound = 1
\x{104}
0: \x{104}
@ -1431,7 +1379,6 @@ Starting code units: Z z { | } ~ \x7f \x80 \x81 \x82 \x83 \x84 \x85 \x86
\xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef
\xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe
\xff
No last code unit
Subject length lower bound = 1
Z
0: Z
@ -1479,7 +1426,6 @@ Starting code units: Z z { | } ~ \x7f \x80 \x81 \x82 \x83 \x84 \x85 \x86
\xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef
\xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe
\xff
No last code unit
Subject length lower bound = 1
/\x{3a3}B/IBi,utf

View File

@ -4,7 +4,6 @@
/abc/I,jit,jitverify
Capturing subpattern count = 0
No options
First code unit = 'a'
Last code unit = 'c'
Subject length lower bound = 3
@ -13,9 +12,6 @@ JIT support is not available in this version of PCRE2
/a*/I
Capturing subpattern count = 0
May match empty string
No options
No first code unit
No last code unit
Subject length lower bound = 0
# End of testinput14

762
testdata/testoutput2 vendored

File diff suppressed because it is too large Load Diff

View File

@ -89,20 +89,16 @@ No match
/\w/I
Capturing subpattern count = 0
No options
Starting code units: 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
No last code unit
Subject length lower bound = 1
/\w/I,locale=fr_FR
Capturing subpattern count = 0
No options
Starting code units: 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
ª µ º À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â
ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ
No last code unit
Subject length lower bound = 1
# All remaining tests are in the fr_FR locale, so set the default.
@ -169,12 +165,10 @@ No match
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
Starting code units: 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 ª µ º À Á Â Ã Ä Å Æ Ç
È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í
î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ
No last code unit
Subject length lower bound = 3
# End of testinput3

View File

@ -89,20 +89,16 @@ No match
/\w/I
Capturing subpattern count = 0
No options
Starting code units: 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
No last code unit
Subject length lower bound = 1
/\w/I,locale=fr_FR
Capturing subpattern count = 0
No options
Starting code units: 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
ª µ º À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â
ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ
No last code unit
Subject length lower bound = 1
# All remaining tests are in the fr_FR locale, so set the default.
@ -169,12 +165,10 @@ No match
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
Starting code units: 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 ª µ º À Á Â Ã Ä Å Æ Ç
È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í
î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ
No last code unit
Subject length lower bound = 3
# End of testinput3

View File

@ -89,20 +89,16 @@ No match
/\w/I
Capturing subpattern count = 0
No options
Starting code units: 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
No last code unit
Subject length lower bound = 1
/\w/I,locale=fr_FR
Capturing subpattern count = 0
No options
Starting code units: 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
ª µ º À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â
ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ
No last code unit
Subject length lower bound = 1
# All remaining tests are in the fr_FR locale, so set the default.
@ -169,12 +165,10 @@ No match
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
Starting code units: 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 ª µ º À Á Â Ã Ä Å Æ Ç
È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í
î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ
No last code unit
Subject length lower bound = 3
# End of testinput3

52
testdata/testoutput5 vendored
View File

@ -163,7 +163,6 @@ Subject length lower bound = 4
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf
No first code unit
Last code unit = 'X'
Subject length lower bound = 4
\x{212ab}\x{212ab}\x{212ab}\x{861}X
@ -179,8 +178,6 @@ Subject length lower bound = 4
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf
No first code unit
No last code unit
Subject length lower bound = 3
\x{212ab}\x{212ab}\x{212ab}\x{861}
0: \x{212ab}\x{212ab}\x{212ab}
@ -200,8 +197,6 @@ Failed: error 136 at offset 6: \C is not allowed in a lookbehind assertion
Capturing subpattern count = 0
Compile options: utf
Overall options: anchored utf
No first code unit
No last code unit
Subject length lower bound = 1
bar
0: b
@ -225,8 +220,6 @@ No match
Capturing subpattern count = 0
Compile options: utf
Overall options: anchored utf
No first code unit
No last code unit
Subject length lower bound = 1
c
0: c
@ -273,8 +266,6 @@ No match
Capturing subpattern count = 0
May match empty string
Options: utf
No first code unit
No last code unit
Subject length lower bound = 0
/a\x{100}*/IB,utf
@ -288,7 +279,6 @@ Subject length lower bound = 0
Capturing subpattern count = 0
Options: utf
First code unit = 'a'
No last code unit
Subject length lower bound = 1
/ab\x{100}*/IB,utf
@ -328,9 +318,7 @@ No match
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
First code unit = \xff
No last code unit
Subject length lower bound = 1
>\xff<
0: \xff
@ -343,9 +331,6 @@ Subject length lower bound = 1
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
/[Ä-Ü]/utf
@ -386,7 +371,6 @@ Subject length lower bound = 1
------------------------------------------------------------------
Capturing subpattern count = 1
Options: utf
No first code unit
Last code unit = 'z'
Subject length lower bound = 7
@ -408,8 +392,6 @@ Subject length lower bound = 7
Capturing subpattern count = 2
May match empty string
Options: utf
No first code unit
No last code unit
Subject length lower bound = 0
/(\x{100}(b(?2)c)){0,2}/IB,utf
@ -441,8 +423,6 @@ Subject length lower bound = 0
Capturing subpattern count = 2
May match empty string
Options: utf
No first code unit
No last code unit
Subject length lower bound = 0
/(\x{100}(b(?1)c))?/IB,utf
@ -463,8 +443,6 @@ Subject length lower bound = 0
Capturing subpattern count = 2
May match empty string
Options: utf
No first code unit
No last code unit
Subject length lower bound = 0
/(\x{100}(b(?1)c)){0,2}/IB,utf
@ -496,8 +474,6 @@ Subject length lower bound = 0
Capturing subpattern count = 2
May match empty string
Options: utf
No first code unit
No last code unit
Subject length lower bound = 0
/\W/utf
@ -521,8 +497,6 @@ Subject length lower bound = 0
Capturing subpattern count = 0
Compile options: utf
Overall options: anchored utf
No first code unit
No last code unit
Subject length lower bound = 1
/()()()()()()()()()()
@ -1480,29 +1454,21 @@ Failed: error 168 at offset 3: \c must be followed by a printable ASCII characte
/[^\x{1234}]+/Ii,utf
Capturing subpattern count = 0
Options: caseless utf
No first code unit
No last code unit
Subject length lower bound = 1
/[^\x{1234}]+?/Ii,utf
Capturing subpattern count = 0
Options: caseless utf
No first code unit
No last code unit
Subject length lower bound = 1
/[^\x{1234}]++/Ii,utf
Capturing subpattern count = 0
Options: caseless utf
No first code unit
No last code unit
Subject length lower bound = 1
/[^\x{1234}]{2}/Ii,utf
Capturing subpattern count = 0
Options: caseless utf
No first code unit
No last code unit
Subject length lower bound = 2
/f.*/
@ -1846,9 +1812,6 @@ Failed: error 173 at offset 5: disallowed Unicode code point (>= 0xd800 && <= 0x
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
/[\p{^L}]/IB
@ -1859,9 +1822,6 @@ Subject length lower bound = 1
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
/[\P{L}]/IB
@ -1872,9 +1832,6 @@ Subject length lower bound = 1
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
/[\P{^L}]/IB
@ -1885,9 +1842,6 @@ Subject length lower bound = 1
End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
/[abc\p{L}\x{0660}]/IB,utf
@ -1899,8 +1853,6 @@ Subject length lower bound = 1
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf
No first code unit
No last code unit
Subject length lower bound = 1
/[\p{Nd}]/IB,utf
@ -1912,8 +1864,6 @@ Subject length lower bound = 1
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf
No first code unit
No last code unit
Subject length lower bound = 1
1234
0: 1
@ -1927,8 +1877,6 @@ Subject length lower bound = 1
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf
No first code unit
No last code unit
Subject length lower bound = 1
1234
0: 1234

10
testdata/testoutput6 vendored
View File

@ -6685,7 +6685,6 @@ No match
/a\Rb/I,bsr=anycrlf
Capturing subpattern count = 0
No options
\R matches CR, LF, or CRLF
First code unit = 'a'
Last code unit = 'b'
@ -6705,7 +6704,6 @@ No match
/a\Rb/I,bsr=unicode
Capturing subpattern count = 0
No options
\R matches any Unicode newline
First code unit = 'a'
Last code unit = 'b'
@ -6729,7 +6727,6 @@ No match
/a\R?b/I,bsr=anycrlf
Capturing subpattern count = 0
No options
\R matches CR, LF, or CRLF
First code unit = 'a'
Last code unit = 'b'
@ -6749,7 +6746,6 @@ No match
/a\R?b/I,bsr=unicode
Capturing subpattern count = 0
No options
\R matches any Unicode newline
First code unit = 'a'
Last code unit = 'b'
@ -6773,7 +6769,6 @@ No match
/a\R{2,4}b/I,bsr=anycrlf
Capturing subpattern count = 0
No options
\R matches CR, LF, or CRLF
First code unit = 'a'
Last code unit = 'b'
@ -6793,7 +6788,6 @@ No match
/a\R{2,4}b/I,bsr=unicode
Capturing subpattern count = 0
No options
\R matches any Unicode newline
First code unit = 'a'
Last code unit = 'b'
@ -7092,9 +7086,7 @@ Partial match at offset 3: +ab
/(abc|def|xyz)/I
Capturing subpattern count = 1
No options
Starting code units: a d x
No last code unit
Subject length lower bound = 3
terhjk;abcdaadsfe
0: abc
@ -7113,9 +7105,7 @@ No match
/(abc|def|xyz)/I
Capturing subpattern count = 1
No options
Starting code units: a d x
No last code unit
Subject length lower bound = 3
terhjk;abcdaadsfe
0: abc

View File

@ -67,8 +67,6 @@ Memory allocation (code space): 10
Capturing subpattern count = 0
May match empty string
Options: extended
No first code unit
No last code unit
Subject length lower bound = 0
/a#/Ix
@ -82,7 +80,6 @@ Memory allocation (code space): 14
Capturing subpattern count = 0
Options: extended
First code unit = 'a'
No last code unit
Subject length lower bound = 1
/x?+/

View File

@ -67,8 +67,6 @@ Memory allocation (code space): 20
Capturing subpattern count = 0
May match empty string
Options: extended
No first code unit
No last code unit
Subject length lower bound = 0
/a#/Ix
@ -82,7 +80,6 @@ Memory allocation (code space): 28
Capturing subpattern count = 0
Options: extended
First code unit = 'a'
No last code unit
Subject length lower bound = 1
/x?+/

View File

@ -67,8 +67,6 @@ Memory allocation (code space): 7
Capturing subpattern count = 0
May match empty string
Options: extended
No first code unit
No last code unit
Subject length lower bound = 0
/a#/Ix
@ -82,7 +80,6 @@ Memory allocation (code space): 9
Capturing subpattern count = 0
Options: extended
First code unit = 'a'
No last code unit
Subject length lower bound = 1
/x?+/

13
testdata/testoutput9 vendored
View File

@ -225,42 +225,29 @@ Options: extended
Starting code units: \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
No last code unit
Subject length lower bound = 3
/\h/I
Capturing subpattern count = 0
No options
Starting code units: \x09 \x20 \xa0
No last code unit
Subject length lower bound = 1
/\H/I
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
/\v/I
Capturing subpattern count = 0
No options
Starting code units: \x0a \x0b \x0c \x0d \x85
No last code unit
Subject length lower bound = 1
/\V/I
Capturing subpattern count = 0
No options
No first code unit
No last code unit
Subject length lower bound = 1
/\R/I
Capturing subpattern count = 0
No options
Starting code units: \x0a \x0b \x0c \x0d \x85
No last code unit
Subject length lower bound = 1
/[\h]/B