testoutput5   [plain text]


/\x{100}/8DM
Memory allocation (code space): 10
------------------------------------------------------------------
  0   6 Bra 0
  3     \x{100}
  6   6 Ket
  9     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 196
Need char = 128

/\x{1000}/8DM
Memory allocation (code space): 11
------------------------------------------------------------------
  0   7 Bra 0
  3     \x{1000}
  7   7 Ket
 10     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 225
Need char = 128

/\x{10000}/8DM
Memory allocation (code space): 12
------------------------------------------------------------------
  0   8 Bra 0
  3     \x{10000}
  8   8 Ket
 11     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 240
Need char = 128

/\x{100000}/8DM
Memory allocation (code space): 12
------------------------------------------------------------------
  0   8 Bra 0
  3     \x{100000}
  8   8 Ket
 11     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 244
Need char = 128

/\x{1000000}/8DM
Memory allocation (code space): 13
------------------------------------------------------------------
  0   9 Bra 0
  3     \x{1000000}
  9   9 Ket
 12     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 249
Need char = 128

/\x{4000000}/8DM
Memory allocation (code space): 14
------------------------------------------------------------------
  0  10 Bra 0
  3     \x{4000000}
 10  10 Ket
 13     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 252
Need char = 128

/\x{7fffFFFF}/8DM
Memory allocation (code space): 14
------------------------------------------------------------------
  0  10 Bra 0
  3     \x{7fffffff}
 10  10 Ket
 13     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 253
Need char = 191

/[\x{ff}]/8DM
Memory allocation (code space): 10
------------------------------------------------------------------
  0   6 Bra 0
  3     \x{ff}
  6   6 Ket
  9     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 195
Need char = 191

/[\x{100}]/8DM
Memory allocation (code space): 15
------------------------------------------------------------------
  0  11 Bra 0
  3     [\x{100}]
 11  11 Ket
 14     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
No first char
No need char

/\x{ffffffff}/8
Failed: character value in \x{...} sequence is too large at offset 11

/\x{100000000}/8
Failed: character value in \x{...} sequence is too large at offset 12

/^\x{100}a\x{1234}/8
    \x{100}a\x{1234}bcd
 0: \x{100}a\x{1234}

/\x80/8D
------------------------------------------------------------------
  0   6 Bra 0
  3     \x{80}
  6   6 Ket
  9     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 194
Need char = 128

/\xff/8D
------------------------------------------------------------------
  0   6 Bra 0
  3     \x{ff}
  6   6 Ket
  9     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 195
Need char = 191

/\x{0041}\x{2262}\x{0391}\x{002e}/D8
------------------------------------------------------------------
  0  14 Bra 0
  3     A\x{2262}\x{391}.
 14  14 Ket
 17     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 'A'
Need char = '.'
    \x{0041}\x{2262}\x{0391}\x{002e}
 0: A\x{2262}\x{391}.
    
/\x{D55c}\x{ad6d}\x{C5B4}/D8 
------------------------------------------------------------------
  0  15 Bra 0
  3     \x{d55c}\x{ad6d}\x{c5b4}
 15  15 Ket
 18     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 237
Need char = 180
    \x{D55c}\x{ad6d}\x{C5B4} 
 0: \x{d55c}\x{ad6d}\x{c5b4}

/\x{65e5}\x{672c}\x{8a9e}/D8
------------------------------------------------------------------
  0  15 Bra 0
  3     \x{65e5}\x{672c}\x{8a9e}
 15  15 Ket
 18     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 230
Need char = 158
    \x{65e5}\x{672c}\x{8a9e}
 0: \x{65e5}\x{672c}\x{8a9e}

/\x{80}/D8
------------------------------------------------------------------
  0   6 Bra 0
  3     \x{80}
  6   6 Ket
  9     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 194
Need char = 128

/\x{084}/D8
------------------------------------------------------------------
  0   6 Bra 0
  3     \x{84}
  6   6 Ket
  9     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 194
Need char = 132

/\x{104}/D8
------------------------------------------------------------------
  0   6 Bra 0
  3     \x{104}
  6   6 Ket
  9     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 196
Need char = 132

/\x{861}/D8
------------------------------------------------------------------
  0   7 Bra 0
  3     \x{861}
  7   7 Ket
 10     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 224
Need char = 161

/\x{212ab}/D8
------------------------------------------------------------------
  0   8 Bra 0
  3     \x{212ab}
  8   8 Ket
 11     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 240
Need char = 171

/.{3,5}X/D8
------------------------------------------------------------------
  0  13 Bra 0
  3     Any{3}
  7     Any{0,2}
 11     X
 13  13 Ket
 16     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
No first char
Need char = 'X'
    \x{212ab}\x{212ab}\x{212ab}\x{861}X
 0: \x{212ab}\x{212ab}\x{212ab}\x{861}X


/.{3,5}?/D8
------------------------------------------------------------------
  0  11 Bra 0
  3     Any{3}
  7     Any{0,2}?
 11  11 Ket
 14     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
No first char
No need char
    \x{212ab}\x{212ab}\x{212ab}\x{861}
 0: \x{212ab}\x{212ab}\x{212ab}

/-- These tests are here rather than in testinput4 because Perl 5.6 has --/
/-- some problems with UTF-8 support, in the area of \x{..} where the   --/
No match
/-- value is < 255. It grumbles about invalid UTF-8 strings.            --/
No match

/^[a\x{c0}]b/8
    \x{c0}b
 0: \x{c0}b
    
/^([a\x{c0}]*?)aa/8
    a\x{c0}aaaa/ 
 0: a\x{c0}aa
 1: a\x{c0}

/^([a\x{c0}]*?)aa/8
    a\x{c0}aaaa/ 
 0: a\x{c0}aa
 1: a\x{c0}
    a\x{c0}a\x{c0}aaa/ 
 0: a\x{c0}a\x{c0}aa
 1: a\x{c0}a\x{c0}

/^([a\x{c0}]*)aa/8
    a\x{c0}aaaa/ 
 0: a\x{c0}aaaa
 1: a\x{c0}aa
    a\x{c0}a\x{c0}aaa/ 
 0: a\x{c0}a\x{c0}aaa
 1: a\x{c0}a\x{c0}a

/^([a\x{c0}]*)a\x{c0}/8
    a\x{c0}aaaa/ 
 0: a\x{c0}
 1: 
    a\x{c0}a\x{c0}aaa/ 
 0: a\x{c0}a\x{c0}
 1: a\x{c0}
    
/-- --/ 
    
/(?<=\C)X/8
Failed: \C not allowed in lookbehind assertion at offset 6

/-- This one is here not because it's different to Perl, but because the --/
/-- way the captured single-byte is displayed. (In Perl it becomes a --/
No match
/-- character, and you can't tell the difference.) --/
No match
    
/X(\C)(.*)/8
    X\x{1234}
 0: X\x{1234}
 1: \xe1
 2: \x88\xb4
    X\nabc 
 0: X\x{0a}abc
 1: \x{0a}
 2: abc
    
/^[ab]/8D
------------------------------------------------------------------
  0  37 Bra 0
  3     ^
  4     [ab]
 37  37 Ket
 40     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: anchored utf8
No first char
No need char
    bar
 0: b
    *** Failers
No match
    c
No match
    \x{ff}
No match
    \x{100}  
No match

/^[^ab]/8D
------------------------------------------------------------------
  0  37 Bra 0
  3     ^
  4     [\x00-`c-\xff] (neg)
 37  37 Ket
 40     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: anchored utf8
No first char
No need char
    c
 0: c
    \x{ff}
 0: \x{ff}
    \x{100}  
 0: \x{100}
    *** Failers 
 0: *
    aaa
No match
  
/[^ab\xC0-\xF0]/8SD
------------------------------------------------------------------
  0  36 Bra 0
  3     [\x00-`c-\xbf\xf1-\xff] (neg)
 36  36 Ket
 39     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
No first char
No need char
Starting byte set: \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 
  \x1a \x1b \x1c \x1d \x1e \x1f \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 [ \ ] ^ _ ` 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 
  \xc2 \xc3 \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 \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 
    \x{f1}
 0: \x{f1}
    \x{bf}
 0: \x{bf}
    \x{100}
 0: \x{100}
    \x{1000}   
 0: \x{1000}
    *** Failers
 0: *
    \x{c0} 
No match
    \x{f0} 
No match

/Ā{3,4}/8SD
------------------------------------------------------------------
  0  11 Bra 0
  3     \x{100}{3}
  8     \x{100}?
 11  11 Ket
 14     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
First char = 196
Need char = 128
Study returned NULL
  \x{100}\x{100}\x{100}\x{100\x{100}
 0: \x{100}\x{100}\x{100}

/(\x{100}+|x)/8SD
------------------------------------------------------------------
  0  19 Bra 0
  3   8 Bra 1
  8     \x{100}+
 11   5 Alt
 14     x
 16  13 Ket
 19  19 Ket
 22     End
------------------------------------------------------------------
Capturing subpattern count = 1
Partial matching not supported
Options: utf8
No first char
No need char
Starting byte set: x \xc4 

/(\x{100}*a|x)/8SD
------------------------------------------------------------------
  0  21 Bra 0
  3  10 Bra 1
  8     \x{100}*+
 11     a
 13   5 Alt
 16     x
 18  15 Ket
 21  21 Ket
 24     End
------------------------------------------------------------------
Capturing subpattern count = 1
Partial matching not supported
Options: utf8
No first char
No need char
Starting byte set: a x \xc4 

/(\x{100}{0,2}a|x)/8SD
------------------------------------------------------------------
  0  23 Bra 0
  3  12 Bra 1
  8     \x{100}{0,2}
 13     a
 15   5 Alt
 18     x
 20  17 Ket
 23  23 Ket
 26     End
------------------------------------------------------------------
Capturing subpattern count = 1
Partial matching not supported
Options: utf8
No first char
No need char
Starting byte set: a x \xc4 

/(\x{100}{1,2}a|x)/8SD
------------------------------------------------------------------
  0  26 Bra 0
  3  15 Bra 1
  8     \x{100}
 11     \x{100}{0,1}
 16     a
 18   5 Alt
 21     x
 23  20 Ket
 26  26 Ket
 29     End
------------------------------------------------------------------
Capturing subpattern count = 1
Partial matching not supported
Options: utf8
No first char
No need char
Starting byte set: x \xc4 

/\x{100}*(\d+|"(?1)")/8
    1234
 0: 1234
 1: 1234
    "1234" 
 0: "1234"
 1: "1234"
    \x{100}1234
 0: \x{100}1234
 1: 1234
    "\x{100}1234"  
 0: \x{100}1234
 1: 1234
    \x{100}\x{100}12ab 
 0: \x{100}\x{100}12
 1: 12
    \x{100}\x{100}"12" 
 0: \x{100}\x{100}"12"
 1: "12"
    *** Failers 
No match
    \x{100}\x{100}abcd
No match

/\x{100}/8D
------------------------------------------------------------------
  0   6 Bra 0
  3     \x{100}
  6   6 Ket
  9     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 196
Need char = 128

/\x{100}*/8D
------------------------------------------------------------------
  0   6 Bra 0
  3     \x{100}*
  6   6 Ket
  9     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
No first char
No need char

/a\x{100}*/8D
------------------------------------------------------------------
  0   8 Bra 0
  3     a
  5     \x{100}*
  8   8 Ket
 11     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
First char = 'a'
No need char

/ab\x{100}*/8D
------------------------------------------------------------------
  0  10 Bra 0
  3     ab
  7     \x{100}*
 10  10 Ket
 13     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
First char = 'a'
Need char = 'b'

/a\x{100}\x{101}*/8D
------------------------------------------------------------------
  0  11 Bra 0
  3     a\x{100}
  8     \x{101}*
 11  11 Ket
 14     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
First char = 'a'
Need char = 128

/a\x{100}\x{101}+/8D
------------------------------------------------------------------
  0  11 Bra 0
  3     a\x{100}
  8     \x{101}+
 11  11 Ket
 14     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
First char = 'a'
Need char = 129

/\x{100}*A/8D
------------------------------------------------------------------
  0   8 Bra 0
  3     \x{100}*+
  6     A
  8   8 Ket
 11     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
No first char
Need char = 'A'
    A
 0: A

/\x{100}*\d(?R)/8D
------------------------------------------------------------------
  0  16 Bra 0
  3     \x{100}*+
  6     \d
  7   6 Once
 10   0 Recurse
 13   6 Ket
 16  16 Ket
 19     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
No first char
No need char

/[^\x{c4}]/D
------------------------------------------------------------------
  0   5 Bra 0
  3     [^\xc4]
  5   5 Ket
  8     End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
No first char
No need char

/[^\x{c4}]/8D
------------------------------------------------------------------
  0  36 Bra 0
  3     [\x00-\xc3\xc5-\xff] (neg)
 36  36 Ket
 39     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
No first char
No need char

/[\x{100}]/8DM
Memory allocation (code space): 15
------------------------------------------------------------------
  0  11 Bra 0
  3     [\x{100}]
 11  11 Ket
 14     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
No first char
No need char
    \x{100}
 0: \x{100}
    Z\x{100}
 0: \x{100}
    \x{100}Z
 0: \x{100}
    *** Failers 
No match

/[Z\x{100}]/8DM
Memory allocation (code space): 47
------------------------------------------------------------------
  0  43 Bra 0
  3     [Z\x{100}]
 43  43 Ket
 46     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
No first char
No need char
    Z\x{100}
 0: Z
    \x{100}
 0: \x{100}
    \x{100}Z
 0: \x{100}
    *** Failers 
No match

/[\x{200}-\x{100}]/8
Failed: range out of order in character class at offset 15

/[Ā-Ą]/8
    \x{100}
 0: \x{100}
    \x{104}
 0: \x{104}
    *** Failers
No match
    \x{105}
No match
    \x{ff}    
No match

/[z-\x{100}]/8D
------------------------------------------------------------------
  0  12 Bra 0
  3     [z-\x{100}]
 12  12 Ket
 15     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
No first char
No need char

/[z\Qa-d]Ā\E]/8D
------------------------------------------------------------------
  0  43 Bra 0
  3     [\-\]adz\x{100}]
 43  43 Ket
 46     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
No first char
No need char
    \x{100}
 0: \x{100}
    Ā 
 0: \x{100}

/[\xFF]/D
------------------------------------------------------------------
  0   5 Bra 0
  3     \xff
  5   5 Ket
  8     End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
First char = 255
No need char
    >\xff<
 0: \xff

/[\xff]/D8
------------------------------------------------------------------
  0   6 Bra 0
  3     \x{ff}
  6   6 Ket
  9     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
First char = 195
Need char = 191
    >\x{ff}<
 0: \x{ff}

/[^\xFF]/D
------------------------------------------------------------------
  0   5 Bra 0
  3     [^\xff]
  5   5 Ket
  8     End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
No first char
No need char

/[^\xff]/8D
------------------------------------------------------------------
  0  36 Bra 0
  3     [\x00-\xfe] (neg)
 36  36 Ket
 39     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8
No first char
No need char

/[Ä-Ü]/8
    Ö # Matches without Study
 0: \x{d6}
    \x{d6}
 0: \x{d6}
    
/[Ä-Ü]/8S
    Ö <-- Same with Study
 0: \x{d6}
    \x{d6}
 0: \x{d6}
    
/[\x{c4}-\x{dc}]/8 
    Ö # Matches without Study
 0: \x{d6}
    \x{d6} 
 0: \x{d6}

/[\x{c4}-\x{dc}]/8S
    Ö <-- Same with Study
 0: \x{d6}
    \x{d6} 
 0: \x{d6}

/[]/8
Failed: invalid UTF-8 string at offset 2

//8
Failed: invalid UTF-8 string at offset 0

/xxx/8
Failed: invalid UTF-8 string at offset 1

/xxx/8?D
------------------------------------------------------------------
  0  15 Bra 0
  3     \X{c0}\X{c0}\X{c0}xxx
 15  15 Ket
 18     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: utf8 no_utf8_check
First char = 195
Need char = 'x'

/abc/8
    ]
Error -10
    
Error -10
    
Error -10
    \?
No match

/anything/8
    \xc0\x80
Error -10
    \xc1\x8f 
Error -10
    \xe0\x9f\x80
Error -10
    \xf0\x8f\x80\x80 
Error -10
    \xf8\x87\x80\x80\x80  
Error -10
    \xfc\x83\x80\x80\x80\x80
Error -10
    \xfe\x80\x80\x80\x80\x80  
Error -10
    \xff\x80\x80\x80\x80\x80  
Error -10
    \xc3\x8f
No match
    \xe0\xaf\x80
No match
    \xe1\x80\x80
No match
    \xf0\x9f\x80\x80 
No match
    \xf1\x8f\x80\x80 
No match
    \xf8\x88\x80\x80\x80  
No match
    \xf9\x87\x80\x80\x80  
No match
    \xfc\x84\x80\x80\x80\x80
No match
    \xfd\x83\x80\x80\x80\x80
No match

/\x{100}abc(xyz(?1))/8D
------------------------------------------------------------------
  0  35 Bra 0
  3     \x{100}abc
 12  20 Bra 1
 17     xyz
 23   6 Once
 26  12 Recurse
 29   6 Ket
 32  20 Ket
 35  35 Ket
 38     End
------------------------------------------------------------------
Capturing subpattern count = 1
Options: utf8
First char = 196
Need char = 'z'

/[^\x{100}]abc(xyz(?1))/8D
------------------------------------------------------------------
  0  40 Bra 0
  3     [^\x{100}]
 11     abc
 17  20 Bra 1
 22     xyz
 28   6 Once
 31  17 Recurse
 34   6 Ket
 37  20 Ket
 40  40 Ket
 43     End
------------------------------------------------------------------
Capturing subpattern count = 1
Options: utf8
No first char
Need char = 'z'

/[ab\x{100}]abc(xyz(?1))/8D
------------------------------------------------------------------
  0  72 Bra 0
  3     [ab\x{100}]
 43     abc
 49  20 Bra 1
 54     xyz
 60   6 Once
 63  49 Recurse
 66   6 Ket
 69  20 Ket
 72  72 Ket
 75     End
------------------------------------------------------------------
Capturing subpattern count = 1
Options: utf8
No first char
Need char = 'z'

/(\x{100}(b(?2)c))?/D8
------------------------------------------------------------------
  0  36 Bra 0
  3     Brazero
  4  29 Bra 1
  9     \x{100}
 12  18 Bra 2
 17     b
 19   6 Once
 22  12 Recurse
 25   6 Ket
 28     c
 30  18 Ket
 33  29 Ket
 36  36 Ket
 39     End
------------------------------------------------------------------
Capturing subpattern count = 2
Options: utf8
No first char
No need char

/(\x{100}(b(?2)c)){0,2}/D8
------------------------------------------------------------------
  0  75 Bra 0
  3     Brazero
  4  68 Bra 0
  7  29 Bra 1
 12     \x{100}
 15  18 Bra 2
 20     b
 22   6 Once
 25  15 Recurse
 28   6 Ket
 31     c
 33  18 Ket
 36  29 Ket
 39     Brazero
 40  29 Bra 1
 45     \x{100}
 48  18 Bra 2
 53     b
 55   6 Once
 58  15 Recurse
 61   6 Ket
 64     c
 66  18 Ket
 69  29 Ket
 72  68 Ket
 75  75 Ket
 78     End
------------------------------------------------------------------
Capturing subpattern count = 2
Options: utf8
No first char
No need char

/(\x{100}(b(?1)c))?/D8
------------------------------------------------------------------
  0  36 Bra 0
  3     Brazero
  4  29 Bra 1
  9     \x{100}
 12  18 Bra 2
 17     b
 19   6 Once
 22   4 Recurse
 25   6 Ket
 28     c
 30  18 Ket
 33  29 Ket
 36  36 Ket
 39     End
------------------------------------------------------------------
Capturing subpattern count = 2
Options: utf8
No first char
No need char

/(\x{100}(b(?1)c)){0,2}/D8
------------------------------------------------------------------
  0  75 Bra 0
  3     Brazero
  4  68 Bra 0
  7  29 Bra 1
 12     \x{100}
 15  18 Bra 2
 20     b
 22   6 Once
 25   7 Recurse
 28   6 Ket
 31     c
 33  18 Ket
 36  29 Ket
 39     Brazero
 40  29 Bra 1
 45     \x{100}
 48  18 Bra 2
 53     b
 55   6 Once
 58   7 Recurse
 61   6 Ket
 64     c
 66  18 Ket
 69  29 Ket
 72  68 Ket
 75  75 Ket
 78     End
------------------------------------------------------------------
Capturing subpattern count = 2
Options: utf8
No first char
No need char

/\W/8
    A.B
 0: .
    A\x{100}B 
 0: \x{100}
  
/\w/8
    \x{100}X   
 0: X

/a\x{1234}b/P8
    a\x{1234}b
 0: a\x{1234}b

/^\ሴ/8D
------------------------------------------------------------------
  0   8 Bra 0
  3     ^
  4     \x{1234}
  8   8 Ket
 11     End
------------------------------------------------------------------
Capturing subpattern count = 0
Options: anchored utf8
No first char
No need char

/\777/I
Failed: octal value is greater than \377 (not in UTF-8 mode) at offset 3

/\777/8I
Capturing subpattern count = 0
Options: utf8
First char = 199
Need char = 191
  \x{1ff}
 0: \x{1ff}
  \777 
 0: \x{1ff}
  
/\x{100}*\d/8D
------------------------------------------------------------------
  0   7 Bra 0
  3     \x{100}*+
  6     \d
  7   7 Ket
 10     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
No first char
No need char

/\x{100}*\s/8D
------------------------------------------------------------------
  0   7 Bra 0
  3     \x{100}*+
  6     \s
  7   7 Ket
 10     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
No first char
No need char

/\x{100}*\w/8D
------------------------------------------------------------------
  0   7 Bra 0
  3     \x{100}*+
  6     \w
  7   7 Ket
 10     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
No first char
No need char

/\x{100}*\D/8D
------------------------------------------------------------------
  0   7 Bra 0
  3     \x{100}*
  6     \D
  7   7 Ket
 10     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
No first char
No need char

/\x{100}*\S/8D
------------------------------------------------------------------
  0   7 Bra 0
  3     \x{100}*
  6     \S
  7   7 Ket
 10     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
No first char
No need char

/\x{100}*\W/8D
------------------------------------------------------------------
  0   7 Bra 0
  3     \x{100}*
  6     \W
  7   7 Ket
 10     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
No first char
No need char

/\x{100}+\x{200}/8D
------------------------------------------------------------------
  0   9 Bra 0
  3     \x{100}++
  6     \x{200}
  9   9 Ket
 12     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
First char = 196
Need char = 128

/\x{100}+X/8D
------------------------------------------------------------------
  0   8 Bra 0
  3     \x{100}++
  6     X
  8   8 Ket
 11     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
First char = 196
Need char = 'X'

/X+\x{200}/8D
------------------------------------------------------------------
  0   8 Bra 0
  3     X++
  5     \x{200}
  8   8 Ket
 11     End
------------------------------------------------------------------
Capturing subpattern count = 0
Partial matching not supported
Options: utf8
First char = 'X'
Need char = 128

/()()()()()()()()()()
 ()()()()()()()()()()
 ()()()()()()()()()()
 ()()()()()()()()()()
 A (x) (?41) B/8x
    AxxB     
Matched, but too many substrings
 0: AxxB
 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
11: 
12: 
13: 
14: 

/^[\x{100}\E-\Q\E\x{150}]/B8
------------------------------------------------------------------
  0  14 Bra 0
  3     ^
  4     [\x{100}-\x{150}]
 14  14 Ket
 17     End
------------------------------------------------------------------

/^[\QĀ\E-\QŐ\E]/B8
------------------------------------------------------------------
  0  14 Bra 0
  3     ^
  4     [\x{100}-\x{150}]
 14  14 Ket
 17     End
------------------------------------------------------------------

/^[\QĀ\E-\QŐ\E/B8
Failed: missing terminating ] for character class at offset 15

/^abc./mgx8<any>
    abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK
 0: abc1
 0: abc2
 0: abc3
 0: abc4
 0: abc5
 0: abc6
 0: abc7
 0: abc8
 0: abc9

/abc.$/mgx8<any>
    abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9
 0: abc1
 0: abc2
 0: abc3
 0: abc4
 0: abc5
 0: abc6
 0: abc7
 0: abc8
 0: abc9

/^a\Rb/8
    a\nb
 0: a\x{0a}b
    a\rb
 0: a\x{0d}b
    a\r\nb
 0: a\x{0d}\x{0a}b
    a\x0bb
 0: a\x{0b}b
    a\x0cb
 0: a\x{0c}b
    a\x{85}b   
 0: a\x{85}b
    a\x{2028}b 
 0: a\x{2028}b
    a\x{2029}b 
 0: a\x{2029}b
    ** Failers
No match
    a\n\rb    
No match

/^a\R*b/8
    ab
 0: ab
    a\nb
 0: a\x{0a}b
    a\rb
 0: a\x{0d}b
    a\r\nb
 0: a\x{0d}\x{0a}b
    a\x0bb
 0: a\x{0b}b
    a\x0c\x{2028}\x{2029}b
 0: a\x{0c}\x{2028}\x{2029}b
    a\x{85}b   
 0: a\x{85}b
    a\n\rb    
 0: a\x{0a}\x{0d}b
    a\n\r\x{85}\x0cb 
 0: a\x{0a}\x{0d}\x{85}\x{0c}b

/^a\R+b/8
    a\nb
 0: a\x{0a}b
    a\rb
 0: a\x{0d}b
    a\r\nb
 0: a\x{0d}\x{0a}b
    a\x0bb
 0: a\x{0b}b
    a\x0c\x{2028}\x{2029}b
 0: a\x{0c}\x{2028}\x{2029}b
    a\x{85}b   
 0: a\x{85}b
    a\n\rb    
 0: a\x{0a}\x{0d}b
    a\n\r\x{85}\x0cb 
 0: a\x{0a}\x{0d}\x{85}\x{0c}b
    ** Failers
No match
    ab  
No match

/^a\R{1,3}b/8
    a\nb
 0: a\x{0a}b
    a\n\rb
 0: a\x{0a}\x{0d}b
    a\n\r\x{85}b
 0: a\x{0a}\x{0d}\x{85}b
    a\r\n\r\nb 
 0: a\x{0d}\x{0a}\x{0d}\x{0a}b
    a\r\n\r\n\r\nb 
 0: a\x{0d}\x{0a}\x{0d}\x{0a}\x{0d}\x{0a}b
    a\n\r\n\rb
 0: a\x{0a}\x{0d}\x{0a}\x{0d}b
    a\n\n\r\nb 
 0: a\x{0a}\x{0a}\x{0d}\x{0a}b
    ** Failers
No match
    a\n\n\n\rb
No match
    a\r
No match

/ End of testinput5 /