diff options
Diffstat (limited to 'dist2/testdata/testoutput10')
-rw-r--r-- | dist2/testdata/testoutput10 | 181 |
1 files changed, 78 insertions, 103 deletions
diff --git a/dist2/testdata/testoutput10 b/dist2/testdata/testoutput10 index dfecda1c..9660fc5a 100644 --- a/dist2/testdata/testoutput10 +++ b/dist2/testdata/testoutput10 @@ -248,7 +248,7 @@ No match Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc4 Last code unit = \x80 @@ -261,7 +261,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xe1 Last code unit = \x80 @@ -274,7 +274,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xf0 Last code unit = \x80 @@ -287,7 +287,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xf4 Last code unit = \x80 @@ -300,7 +300,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xf4 Last code unit = \xbf @@ -313,7 +313,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc3 Last code unit = \xbf @@ -326,7 +326,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc4 Last code unit = \x80 @@ -339,7 +339,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc2 Last code unit = \x80 @@ -352,7 +352,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc3 Last code unit = \xbf @@ -365,7 +365,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xed Last code unit = \xb4 @@ -380,7 +380,7 @@ Subject length lower bound = 3 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xe6 Last code unit = \x9e @@ -395,7 +395,7 @@ Subject length lower bound = 3 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc2 Last code unit = \x80 @@ -408,7 +408,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc2 Last code unit = \x84 @@ -421,7 +421,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc4 Last code unit = \x84 @@ -434,7 +434,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xe0 Last code unit = \xa1 @@ -447,7 +447,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xf0 Last code unit = \xab @@ -460,7 +460,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 @@ -495,7 +495,7 @@ No match Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc4 Last code unit = \x80 @@ -514,7 +514,7 @@ Subject length lower bound = 3 Ket End ------------------------------------------------------------------ -Capture group count = 1 +Capturing subpattern count = 1 Options: utf Starting code units: x \xc4 Subject length lower bound = 1 @@ -531,7 +531,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 1 +Capturing subpattern count = 1 Options: utf Starting code units: a x \xc4 Subject length lower bound = 1 @@ -548,7 +548,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 1 +Capturing subpattern count = 1 Options: utf Starting code units: a x \xc4 Subject length lower bound = 1 @@ -566,7 +566,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 1 +Capturing subpattern count = 1 Options: utf Starting code units: x \xc4 Subject length lower bound = 1 @@ -578,7 +578,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc4 Last code unit = \x80 @@ -592,7 +592,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = 'a' Last code unit = \x80 @@ -606,7 +606,7 @@ Subject length lower bound = 2 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = 'a' Last code unit = \x81 @@ -619,7 +619,7 @@ Subject length lower bound = 3 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Subject length lower bound = 1 /[\x{100}]/IB,utf @@ -629,7 +629,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc4 Last code unit = \x80 @@ -648,7 +648,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc3 Last code unit = \xbf @@ -663,7 +663,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Subject length lower bound = 1 @@ -678,14 +678,14 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 1 +Capturing subpattern count = 1 Options: utf First code unit = \xc4 Last code unit = 'z' Subject length lower bound = 7 /\777/I,utf -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc7 Last code unit = \xbf @@ -703,7 +703,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc4 Last code unit = \x80 @@ -717,7 +717,7 @@ Subject length lower bound = 2 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc4 Last code unit = 'X' @@ -761,7 +761,7 @@ No match 0: \x{1234} /(*CRLF)(*UTF)(*BSR_UNICODE)a\Rb/I -Capture group count = 0 +Capturing subpattern count = 0 Compile options: <none> Overall options: utf \R matches any Unicode newline @@ -771,7 +771,7 @@ Last code unit = 'b' Subject length lower bound = 3 /\h/I,utf -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: \x09 \x20 \xc2 \xe1 \xe2 \xe3 Subject length lower bound = 1 @@ -795,7 +795,7 @@ Subject length lower bound = 1 0: \x{3000} /\v/I,utf -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: \x0a \x0b \x0c \x0d \xc2 \xe2 Subject length lower bound = 1 @@ -813,7 +813,7 @@ Subject length lower bound = 1 0: \x{2028} /\h*A/I,utf -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: \x09 \x20 A \xc2 \xe1 \xe2 \xe3 Last code unit = 'A' @@ -822,21 +822,21 @@ Subject length lower bound = 1 0: A /\v+A/I,utf -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: \x0a \x0b \x0c \x0d \xc2 \xe2 Last code unit = 'A' Subject length lower bound = 2 /\s?xxx\s/I,utf -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: \x09 \x0a \x0b \x0c \x0d \x20 x Last code unit = 'x' Subject length lower bound = 4 /\sxxx\s/I,utf,tables=2 -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: \x09 \x0a \x0b \x0c \x0d \x20 \xc2 Last code unit = 'x' @@ -847,7 +847,7 @@ Subject length lower bound = 5 0: \x{a0}xxx\x{85} /\S \S/I,utf,tables=2 -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a \x1b \x1c \x1d \x1e @@ -883,25 +883,25 @@ Error -36 (bad UTF-8 offset) No match /\x{1234}+/Ii,utf -Capture group count = 0 +Capturing subpattern count = 0 Options: caseless utf Starting code units: \xe1 Subject length lower bound = 1 /\x{1234}+?/Ii,utf -Capture group count = 0 +Capturing subpattern count = 0 Options: caseless utf Starting code units: \xe1 Subject length lower bound = 1 /\x{1234}++/Ii,utf -Capture group count = 0 +Capturing subpattern count = 0 Options: caseless utf Starting code units: \xe1 Subject length lower bound = 1 /\x{1234}{2}/Ii,utf -Capture group count = 0 +Capturing subpattern count = 0 Options: caseless utf Starting code units: \xe1 Subject length lower bound = 2 @@ -913,7 +913,7 @@ Subject length lower bound = 2 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Subject length lower bound = 1 @@ -925,14 +925,14 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = 'X' Last code unit = \x80 Subject length lower bound = 2 /\R/I,utf -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: \x0a \x0b \x0c \x0d \xc2 \xe2 Subject length lower bound = 1 @@ -944,7 +944,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = \xc7 Last code unit = \xbf @@ -1105,7 +1105,7 @@ Failed: error 174 at offset 0: using UTF is disabled by the application Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: caseless utf First code unit = 'A' (caseless) Subject length lower bound = 5 @@ -1117,7 +1117,7 @@ Subject length lower bound = 5 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = 'A' Last code unit = \xb0 @@ -1130,7 +1130,7 @@ Subject length lower bound = 5 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf First code unit = 'A' Last code unit = \xb0 @@ -1143,14 +1143,14 @@ Subject length lower bound = 3 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: caseless utf First code unit = 'A' (caseless) Last code unit = 'B' (caseless) Subject length lower bound = 3 /\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}/Ii,utf -Capture group count = 0 +Capturing subpattern count = 0 Options: caseless utf Starting code units: \xd0 \xd1 Subject length lower bound = 17 @@ -1176,17 +1176,17 @@ Subject length lower bound = 17 ------------------------------------------------------------------ /\h/I -Capture group count = 0 +Capturing subpattern count = 0 Starting code units: \x09 \x20 \xa0 Subject length lower bound = 1 /\v/I -Capture group count = 0 +Capturing subpattern count = 0 Starting code units: \x0a \x0b \x0c \x0d \x85 Subject length lower bound = 1 /\R/I -Capture group count = 0 +Capturing subpattern count = 0 Starting code units: \x0a \x0b \x0c \x0d \x85 Subject length lower bound = 1 @@ -1199,7 +1199,7 @@ Subject length lower bound = 1 ------------------------------------------------------------------ /\x{212a}+/Ii,utf -Capture group count = 0 +Capturing subpattern count = 0 Options: caseless utf Starting code units: K k \xe2 Subject length lower bound = 1 @@ -1207,7 +1207,7 @@ Subject length lower bound = 1 0: KKkk\x{212a} /s+/Ii,utf -Capture group count = 0 +Capturing subpattern count = 0 Options: caseless utf Starting code units: S s \xc5 Subject length lower bound = 1 @@ -1222,7 +1222,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: A \xc4 Last code unit = 'A' @@ -1239,7 +1239,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: 0 1 2 3 4 5 6 7 8 9 \xc4 Subject length lower bound = 1 @@ -1251,7 +1251,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: Z \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc @@ -1273,7 +1273,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: z { | } ~ \x7f \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 @@ -1289,7 +1289,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: - ] a d z \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb @@ -1314,7 +1314,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 1 +Capturing subpattern count = 1 Options: utf Starting code units: a b \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc @@ -1332,7 +1332,7 @@ Subject length lower bound = 7 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: \x09 \x0a \x0b \x0c \x0d \x20 \xc4 Subject length lower bound = 1 @@ -1345,7 +1345,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: 0 1 2 3 4 5 6 7 8 9 \xc4 Subject length lower bound = 1 @@ -1358,7 +1358,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 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 @@ -1373,7 +1373,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 @@ -1395,7 +1395,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a \x1b \x1c \x1d \x1e @@ -1416,7 +1416,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 @@ -1435,7 +1435,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: caseless utf Starting code units: \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd @@ -1462,7 +1462,7 @@ No match Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: caseless utf Starting code units: Z z { | } ~ \x7f \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 @@ -1503,7 +1503,7 @@ No match Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: caseless utf Starting code units: Z z { | } ~ \x7f \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 @@ -1520,7 +1520,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Options: caseless utf Starting code units: \xce \xcf Last code unit = 'B' (caseless) @@ -1531,7 +1531,7 @@ Subject length lower bound = 2 Failed: error -3: UTF-8 error: 1 byte missing at end /(?<=(a)(?-1))x/I,utf -Capture group count = 1 +Capturing subpattern count = 1 Max lookbehind = 2 Options: utf First code unit = 'x' @@ -1579,7 +1579,7 @@ Failed: error 176 at offset 259: name is too long in (*MARK), (*PRUNE), (*SKIP), # but subjects containing them must not be UTF-checked. /\x{d800}/I,utf,allow_surrogate_escapes -Capture group count = 0 +Capturing subpattern count = 0 Options: utf Extra options: allow_surrogate_escapes First code unit = \xed @@ -1602,7 +1602,7 @@ Subject length lower bound = 1 Ket End ------------------------------------------------------------------ -Capture group count = 0 +Capturing subpattern count = 0 Compile options: utf Overall options: anchored utf Starting code units: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a @@ -1625,30 +1625,5 @@ Subject length lower bound = 1 \= Expect no match aaa No match - -# Offsets are different in 8-bit mode. - -/(?<=abc)(|def)/g,utf,replace=<$0>,substitute_callout - 123abcáyzabcdef789abcሴqr - 1(2) Old 6 6 "" New 6 8 "<>" - 2(2) Old 13 13 "" New 15 17 "<>" - 3(2) Old 13 16 "def" New 17 22 "<def>" - 4(2) Old 22 22 "" New 28 30 "<>" - 4: 123abc<>\x{e1}yzabc<><def>789abc<>\x{1234}qr - -# Check name length with non-ASCII characters - -/(?'ABáC678901234567890123456789012'...)/utf - -/(?'ABáC6789012345678901234567890123'...)/utf -Failed: error 148 at offset 36: subpattern name is too long (maximum 32 code units) - -/(?'ABZC6789012345678901234567890123'...)/utf - -/(?(n/utf -Failed: error 142 at offset 4: syntax error in subpattern name (missing terminator?) - -/(?(á/utf -Failed: error 142 at offset 5: syntax error in subpattern name (missing terminator?) # End of testinput10 |