version 1.1.1.1, 2012/02/21 23:05:52
|
version 1.1.1.2, 2012/02/21 23:50:25
|
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 255 No match
|
Line 256 No match
|
XYZ |
XYZ |
No match |
No match |
|
|
/X(\C{3})/8 |
|
X\x{1234} |
|
0: X\x{1234} |
|
1: \x{1234} |
|
|
|
/X(\C{4})/8 |
|
X\x{1234}YZ |
|
0: X\x{1234}Y |
|
1: \x{1234}Y |
|
|
|
/X\C*/8 |
|
XYZabcdce |
|
0: XYZabcdce |
|
|
|
/X\C*?/8 |
|
XYZabcde |
|
0: X |
|
|
|
/X\C{3,5}/8 |
|
Xabcdefg |
|
0: Xabcde |
|
X\x{1234} |
|
0: X\x{1234} |
|
X\x{1234}YZ |
|
0: X\x{1234}YZ |
|
X\x{1234}\x{512} |
|
0: X\x{1234}\x{512} |
|
X\x{1234}\x{512}YZ |
|
0: X\x{1234}\x{512} |
|
|
|
/X\C{3,5}?/8 |
|
Xabcdefg |
|
0: Xabc |
|
X\x{1234} |
|
0: X\x{1234} |
|
X\x{1234}YZ |
|
0: X\x{1234} |
|
X\x{1234}\x{512} |
|
0: X\x{1234} |
|
|
|
/[^a]+/8g |
/[^a]+/8g |
bcd |
bcd |
0: bcd |
0: bcd |
Line 791 No match
|
Line 752 No match
|
\x{200}X |
\x{200}X |
No match |
No match |
|
|
/a\Cb/ |
|
aXb |
|
0: aXb |
|
a\nb |
|
0: a\x0ab |
|
|
|
/a\Cb/8 |
|
aXb |
|
0: aXb |
|
a\nb |
|
0: a\x{0a}b |
|
|
|
/a\C\Cb/8 |
|
a\x{100}b |
|
0: a\x{100}b |
|
|
|
/[z-\x{100}]/8i |
/[z-\x{100}]/8i |
z |
z |
0: z |
0: z |
Line 1136 No match
|
Line 1081 No match
|
abc |
abc |
No match |
No match |
|
|
/ab\Cde/8 | /a(*:a\x{1234}b)/8K |
abXde | abc |
0: abXde | 0: a |
| MK: a\x{1234}b |
| |
| /a(*:a£b)/8K |
| abc |
| 0: a |
| MK: a\x{a3}b |
|
|
/-- End of testinput4 --/ |
/-- End of testinput4 --/ |