version 1.1, 2012/02/21 23:05:52
|
version 1.1.1.3, 2013/07/22 08:25:57
|
Line 1
|
Line 1
|
/-- This set of tests is for UTF-8 support, excluding Unicode properties. It is | /-- This set of tests is for UTF support, excluding Unicode properties. It is |
compatible with all versions of Perl 5. --/ | compatible with all versions of Perl >= 5.10 and both the 8-bit and 16-bit |
| PCRE libraries. --/ |
|
|
/a.b/8 |
/a.b/8 |
acb |
acb |
Line 126
|
Line 127
|
*** Failers |
*** Failers |
XYZ |
XYZ |
|
|
/X(\C{3})/8 |
|
X\x{1234} |
|
|
|
/X(\C{4})/8 |
|
X\x{1234}YZ |
|
|
|
/X\C*/8 |
|
XYZabcdce |
|
|
|
/X\C*?/8 |
|
XYZabcde |
|
|
|
/X\C{3,5}/8 |
|
Xabcdefg |
|
X\x{1234} |
|
X\x{1234}YZ |
|
X\x{1234}\x{512} |
|
X\x{1234}\x{512}YZ |
|
|
|
/X\C{3,5}?/8 |
|
Xabcdefg |
|
X\x{1234} |
|
X\x{1234}YZ |
|
X\x{1234}\x{512} |
|
|
|
/[^a]+/8g |
/[^a]+/8g |
bcd |
bcd |
\x{100}aY\x{256}Z |
\x{100}aY\x{256}Z |
Line 456
|
Line 432
|
\x{150}X |
\x{150}X |
\x{200}X |
\x{200}X |
|
|
/a\Cb/ |
|
aXb |
|
a\nb |
|
|
|
/a\Cb/8 |
|
aXb |
|
a\nb |
|
|
|
/a\C\Cb/8 |
|
a\x{100}b |
|
|
|
/[z-\x{100}]/8i |
/[z-\x{100}]/8i |
z |
z |
Z |
Z |
Line 650
|
Line 615
|
/(abc)\1/8 |
/(abc)\1/8 |
abc |
abc |
|
|
/ab\Cde/8 | /a(*:a\x{1234}b)/8K |
abXde | abc |
| |
| /a(*:a£b)/8K |
| abc |
| |
| /-- Noncharacters --/ |
| |
| /./8 |
| \x{fffe} |
| \x{ffff} |
| \x{1fffe} |
| \x{1ffff} |
| \x{2fffe} |
| \x{2ffff} |
| \x{3fffe} |
| \x{3ffff} |
| \x{4fffe} |
| \x{4ffff} |
| \x{5fffe} |
| \x{5ffff} |
| \x{6fffe} |
| \x{6ffff} |
| \x{7fffe} |
| \x{7ffff} |
| \x{8fffe} |
| \x{8ffff} |
| \x{9fffe} |
| \x{9ffff} |
| \x{afffe} |
| \x{affff} |
| \x{bfffe} |
| \x{bffff} |
| \x{cfffe} |
| \x{cffff} |
| \x{dfffe} |
| \x{dffff} |
| \x{efffe} |
| \x{effff} |
| \x{ffffe} |
| \x{fffff} |
| \x{10fffe} |
| \x{10ffff} |
| \x{fdd0} |
| \x{fdd1} |
| \x{fdd2} |
| \x{fdd3} |
| \x{fdd4} |
| \x{fdd5} |
| \x{fdd6} |
| \x{fdd7} |
| \x{fdd8} |
| \x{fdd9} |
| \x{fdda} |
| \x{fddb} |
| \x{fddc} |
| \x{fddd} |
| \x{fdde} |
| \x{fddf} |
| \x{fde0} |
| \x{fde1} |
| \x{fde2} |
| \x{fde3} |
| \x{fde4} |
| \x{fde5} |
| \x{fde6} |
| \x{fde7} |
| \x{fde8} |
| \x{fde9} |
| \x{fdea} |
| \x{fdeb} |
| \x{fdec} |
| \x{fded} |
| \x{fdee} |
| \x{fdef} |
| |
| /^\d*\w{4}/8 |
| 1234 |
| 123 |
| |
| /^[^b]*\w{4}/8 |
| aaaa |
| aaa |
| |
| /^[^b]*\w{4}/8i |
| aaaa |
| aaa |
| |
| /^\x{100}*.{4}/8 |
| \x{100}\x{100}\x{100}\x{100} |
| \x{100}\x{100}\x{100} |
| |
| /^\x{100}*.{4}/8i |
| \x{100}\x{100}\x{100}\x{100} |
| \x{100}\x{100}\x{100} |
|
|
/-- End of testinput4 --/ |
/-- End of testinput4 --/ |