| 17 |
X\x{11234}YZ |
X\x{11234}YZ |
| 18 |
0: X\x{11234}YZ |
0: X\x{11234}YZ |
| 19 |
1: \x{11234}YZ |
1: \x{11234}YZ |
| 20 |
|
|
| 21 |
/X\C*/8 |
/X\C*/8 |
| 22 |
XYZabcdce |
XYZabcdce |
| 23 |
0: XYZabcdce |
0: XYZabcdce |
| 24 |
|
|
| 25 |
/X\C*?/8 |
/X\C*?/8 |
| 26 |
XYZabcde |
XYZabcde |
| 27 |
0: X |
0: X |
| 28 |
|
|
| 29 |
/X\C{3,5}/8 |
/X\C{3,5}/8 |
| 30 |
Xabcdefg |
Xabcdefg |
| 31 |
0: Xabcde |
0: Xabcde |
| 32 |
X\x{11234}Y |
X\x{11234}Y |
| 33 |
0: X\x{11234}Y |
0: X\x{11234}Y |
| 34 |
X\x{11234}YZ |
X\x{11234}YZ |
| 35 |
0: X\x{11234}YZ |
0: X\x{11234}YZ |
| 36 |
X\x{11234}\x{512} |
X\x{11234}\x{512} |
| 37 |
0: X\x{11234}\x{512} |
0: X\x{11234}\x{512} |
| 38 |
X\x{11234}\x{512}YZ |
X\x{11234}\x{512}YZ |
| 39 |
0: X\x{11234}\x{512}YZ |
0: X\x{11234}\x{512}YZ |
| 41 |
0: X\x{11234}\x{512}\x{11234} |
0: X\x{11234}\x{512}\x{11234} |
| 42 |
|
|
| 43 |
/X\C{3,5}?/8 |
/X\C{3,5}?/8 |
| 44 |
Xabcdefg |
Xabcdefg |
| 45 |
0: Xabc |
0: Xabc |
| 46 |
X\x{11234}Y |
X\x{11234}Y |
| 47 |
0: X\x{11234}Y |
0: X\x{11234}Y |
| 48 |
X\x{11234}YZ |
X\x{11234}YZ |
| 49 |
0: X\x{11234}Y |
0: X\x{11234}Y |
| 50 |
X\x{11234}\x{512}YZ |
X\x{11234}\x{512}YZ |
| 51 |
0: X\x{11234}\x{512} |
0: X\x{11234}\x{512} |
| 52 |
*** Failers |
*** Failers |
| 53 |
No match |
No match |
| 59 |
0: aXb |
0: aXb |
| 60 |
a\nb |
a\nb |
| 61 |
0: a\x{0a}b |
0: a\x{0a}b |
| 62 |
|
|
| 63 |
/a\C\Cb/8 |
/a\C\Cb/8 |
| 64 |
a\x{12257}b |
a\x{12257}b |
| 65 |
0: a\x{12257}b |
0: a\x{12257}b |
| 66 |
** Failers |
** Failers |
| 67 |
No match |
No match |
| 68 |
a\x{100}b |
a\x{100}b |
| 69 |
No match |
No match |
| 71 |
/ab\Cde/8 |
/ab\Cde/8 |
| 72 |
abXde |
abXde |
| 73 |
0: abXde |
0: abXde |
| 74 |
|
|
| 75 |
/-- Check maximum character size --/ |
/-- Check maximum character size --/ |
| 76 |
|
|
| 77 |
/\x{ffff}/8DZ |
/\x{ffff}/8DZ |
| 86 |
First char = \x{ffff} |
First char = \x{ffff} |
| 87 |
No need char |
No need char |
| 88 |
|
|
| 89 |
/\x{10000}/8DZ |
/\x{10000}/8DZ |
| 90 |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
| 91 |
Bra |
Bra |
| 92 |
\x{10000} |
\x{10000} |
| 206 |
First char = \x{ff} |
First char = \x{ff} |
| 207 |
No need char |
No need char |
| 208 |
|
|
| 209 |
/\x{D55c}\x{ad6d}\x{C5B4}/DZ8 |
/\x{D55c}\x{ad6d}\x{C5B4}/DZ8 |
| 210 |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
| 211 |
Bra |
Bra |
| 212 |
\x{d55c}\x{ad6d}\x{c5b4} |
\x{d55c}\x{ad6d}\x{c5b4} |
| 217 |
Options: utf |
Options: utf |
| 218 |
First char = \x{d55c} |
First char = \x{d55c} |
| 219 |
Need char = \x{c5b4} |
Need char = \x{c5b4} |
| 220 |
\x{D55c}\x{ad6d}\x{C5B4} |
\x{D55c}\x{ad6d}\x{C5B4} |
| 221 |
0: \x{d55c}\x{ad6d}\x{c5b4} |
0: \x{d55c}\x{ad6d}\x{c5b4} |
| 222 |
|
|
| 223 |
/\x{65e5}\x{672c}\x{8a9e}/DZ8 |
/\x{65e5}\x{672c}\x{8a9e}/DZ8 |
| 297 |
/-- This one is here not because it's different to Perl, but because the way |
/-- This one is here not because it's different to Perl, but because the way |
| 298 |
the captured single-byte is displayed. (In Perl it becomes a character, and you |
the captured single-byte is displayed. (In Perl it becomes a character, and you |
| 299 |
can't tell the difference.) --/ |
can't tell the difference.) --/ |
| 300 |
|
|
| 301 |
/X(\C)(.*)/8 |
/X(\C)(.*)/8 |
| 302 |
X\x{1234} |
X\x{1234} |
| 303 |
0: X\x{1234} |
0: X\x{1234} |
| 304 |
1: \x{1234} |
1: \x{1234} |
| 305 |
2: |
2: |
| 306 |
X\nabc |
X\nabc |
| 307 |
0: X\x{0a}abc |
0: X\x{0a}abc |
| 308 |
1: \x{0a} |
1: \x{0a} |
| 309 |
2: abc |
2: abc |
| 310 |
|
|
| 311 |
/-- This one is here because Perl gives out a grumbly error message (quite |
/-- This one is here because Perl gives out a grumbly error message (quite |
| 312 |
correctly, but that messes up comparisons). --/ |
correctly, but that messes up comparisons). --/ |
| 313 |
|
|
| 314 |
/a\Cb/8 |
/a\Cb/8 |
| 315 |
*** Failers |
*** Failers |
| 316 |
No match |
No match |
| 317 |
a\x{100}b |
a\x{100}b |
| 318 |
0: a\x{100}b |
0: a\x{100}b |
| 319 |
|
|
| 320 |
/[^ab\xC0-\xF0]/8SDZ |
/[^ab\xC0-\xF0]/8SDZ |
| 321 |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
| 322 |
Bra |
Bra |
| 346 |
0: \x{bf} |
0: \x{bf} |
| 347 |
\x{100} |
\x{100} |
| 348 |
0: \x{100} |
0: \x{100} |
| 349 |
\x{1000} |
\x{1000} |
| 350 |
0: \x{1000} |
0: \x{1000} |
| 351 |
*** Failers |
*** Failers |
| 352 |
0: * |
0: * |
| 353 |
\x{c0} |
\x{c0} |
| 354 |
No match |
No match |
| 355 |
\x{f0} |
\x{f0} |
| 356 |
No match |
No match |
| 357 |
|
|
| 358 |
/Ā{3,4}/8SDZ |
/Ā{3,4}/8SDZ |
| 515 |
0: \x{100} |
0: \x{100} |
| 516 |
\x{100}Z |
\x{100}Z |
| 517 |
0: \x{100} |
0: \x{100} |
| 518 |
*** Failers |
*** Failers |
| 519 |
No match |
No match |
| 520 |
|
|
| 521 |
/[\xff]/DZ8 |
/[\xff]/DZ8 |
| 567 |
No need char |
No need char |
| 568 |
\x{1ff} |
\x{1ff} |
| 569 |
0: \x{1ff} |
0: \x{1ff} |
| 570 |
\777 |
\777 |
| 571 |
0: \x{1ff} |
0: \x{1ff} |
| 572 |
|
|
| 573 |
/\x{100}+\x{200}/8DZ |
/\x{100}+\x{200}/8DZ |
| 574 |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
| 575 |
Bra |
Bra |
| 603 |
\x{0}\x{d7ff}\x{e000}\x{10ffff} |
\x{0}\x{d7ff}\x{e000}\x{10ffff} |
| 604 |
No match |
No match |
| 605 |
\x{d800} |
\x{d800} |
| 606 |
Error -10 (bad UTF-8 string) offset=0 reason=1 |
Error -10 (bad UTF-16 string) offset=0 reason=1 |
| 607 |
\x{d800}\? |
\x{d800}\? |
| 608 |
No match |
No match |
| 609 |
\x{da00} |
\x{da00} |
| 610 |
Error -10 (bad UTF-8 string) offset=0 reason=1 |
Error -10 (bad UTF-16 string) offset=0 reason=1 |
| 611 |
\x{da00}\? |
\x{da00}\? |
| 612 |
No match |
No match |
| 613 |
\x{dfff} |
\x{dfff} |
| 614 |
Error -10 (bad UTF-8 string) offset=0 reason=3 |
Error -10 (bad UTF-16 string) offset=0 reason=3 |
| 615 |
\x{dfff}\? |
\x{dfff}\? |
| 616 |
No match |
No match |
| 617 |
\x{110000} |
\x{110000} |
| 618 |
Error -10 (bad UTF-8 string) offset=0 reason=3 |
**Failed: character value greater than 0x10ffff cannot be converted to UTF-16 |
| 619 |
\x{110000}\? |
\x{d800}\x{1234} |
| 620 |
No match |
Error -10 (bad UTF-16 string) offset=1 reason=2 |
| 621 |
\x{2000000} |
\x{fffe} |
| 622 |
Error -10 (bad UTF-8 string) offset=1 reason=3 |
Error -10 (bad UTF-16 string) offset=0 reason=4 |
|
\x{2000000}\? |
|
|
No match |
|
|
\x{7fffffff} |
|
|
Error -10 (bad UTF-8 string) offset=1 reason=3 |
|
|
\x{7fffffff}\? |
|
|
No match |
|
| 623 |
|
|
| 624 |
/(*UTF16)\x{11234}/ |
/(*UTF16)\x{11234}/ |
| 625 |
abcd\x{11234}pqr |
abcd\x{11234}pqr |
| 651 |
0: \x{180e} |
0: \x{180e} |
| 652 |
ABC\x{2000} |
ABC\x{2000} |
| 653 |
0: \x{2000} |
0: \x{2000} |
| 654 |
ABC\x{202f} |
ABC\x{202f} |
| 655 |
0: \x{202f} |
0: \x{202f} |
| 656 |
ABC\x{205f} |
ABC\x{205f} |
| 657 |
0: \x{205f} |
0: \x{205f} |
| 658 |
ABC\x{3000} |
ABC\x{3000} |
| 659 |
0: \x{3000} |
0: \x{3000} |
| 660 |
|
|
| 661 |
/\v/SI8 |
/\v/SI8 |
| 687 |
Starting byte set: \x09 \x20 A \xa0 |
Starting byte set: \x09 \x20 A \xa0 |
| 688 |
CDBABC |
CDBABC |
| 689 |
0: A |
0: A |
| 690 |
|
|
| 691 |
/\v+A/SI8 |
/\v+A/SI8 |
| 692 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
| 693 |
Options: utf |
Options: utf |
| 736 |
\xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee |
\xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee |
| 737 |
\xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd |
\xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd |
| 738 |
\xfe \xff |
\xfe \xff |
| 739 |
\x{a2} \x{84} |
\x{a2} \x{84} |
| 740 |
0: \x{a2} \x{84} |
0: \x{a2} \x{84} |
| 741 |
A Z |
A Z |
| 742 |
0: A Z |
0: A Z |
| 743 |
|
|
| 744 |
/a+/8 |
/a+/8 |
| 820 |
Subject length lower bound = 1 |
Subject length lower bound = 1 |
| 821 |
Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff |
Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff |
| 822 |
|
|
| 823 |
|
/-- Check bad offset --/ |
| 824 |
|
|
| 825 |
|
/a/8 |
| 826 |
|
\x{10000}\>1 |
| 827 |
|
Error -11 (bad UTF-16 offset) |
| 828 |
|
\x{10000}ab\>2 |
| 829 |
|
0: a |
| 830 |
|
\x{10000}ab\>3 |
| 831 |
|
No match |
| 832 |
|
\x{10000}ab\>4 |
| 833 |
|
No match |
| 834 |
|
\x{10000}ab\>5 |
| 835 |
|
Error -24 (bad offset value) |
| 836 |
|
|
| 837 |
/-- End of testinput18 --/ |
/-- End of testinput18 --/ |