version 1.1.1.2, 2012/10/09 09:19:18
|
version 1.1.1.3, 2013/07/22 08:25:57
|
Line 1
|
Line 1
|
/-- This set of tests is for the 16-bit library's basic (non-UTF-16) features | /-- This set of tests is for the 16- and 32-bit library's basic (non-UTF-16 |
that are not compatible with the 8-bit library, or which give different | or -32) features that are not compatible with the 8-bit library, or which |
output in 16-bit mode. --/ | give different output in 16- or 32-bit mode. --/ |
|
|
/a\Cb/ |
/a\Cb/ |
aXb |
aXb |
Line 8
|
Line 8
|
a\nb |
a\nb |
0: a\x0ab |
0: a\x0ab |
|
|
/-- Check maximum non-UTF character size --/ |
|
|
|
/\x{ffff}/ |
|
A\x{ffff}B |
|
0: \x{ffff} |
|
|
|
/\x{10000}/ |
|
Failed: character value in \x{...} sequence is too large at offset 8 |
|
|
|
/[^\x{c4}]/DZ |
/[^\x{c4}]/DZ |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
Bra |
[^\xc4] | [^\x{c4}] |
Ket |
Ket |
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Line 28 Capturing subpattern count = 0
|
Line 19 Capturing subpattern count = 0
|
No options |
No options |
No first char |
No first char |
No need char |
No need char |
|
|
|
|
/\x{100}/I |
/\x{100}/I |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
Line 268 Starting byte set: \x09 \x20 ! " # $ % & ' ( * + - / 0
|
Line 258 Starting byte set: \x09 \x20 ! " # $ % & ' ( * + - / 0
|
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
|
|
/[\H]/BZ |
|
------------------------------------------------------------------ |
|
Bra |
|
[\x00-\x08\x0a-\x1f!-\x9f\xa1-\xff\x{100}-\x{167f}\x{1681}-\x{180d}\x{180f}-\x{1fff}\x{200b}-\x{202e}\x{2030}-\x{205e}\x{2060}-\x{2fff}\x{3001}-\x{ffff}] |
|
Ket |
|
End |
|
------------------------------------------------------------------ |
|
|
|
/[^\h]/BZ |
/[^\h]/BZ |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
Bra |
Line 284 Starting byte set: \x09 \x20 ! " # $ % & ' ( * + - / 0
|
Line 266 Starting byte set: \x09 \x20 ! " # $ % & ' ( * + - / 0
|
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
|
|
/[\V]/BZ |
|
------------------------------------------------------------------ |
|
Bra |
|
[\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffff}] |
|
Ket |
|
End |
|
------------------------------------------------------------------ |
|
|
|
/[\x0a\V]/BZ |
|
------------------------------------------------------------------ |
|
Bra |
|
[\x00-\x0a\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffff}] |
|
Ket |
|
End |
|
------------------------------------------------------------------ |
|
|
|
/\h+/SI |
/\h+/SI |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
No options |
No options |
Line 346 No set of starting bytes
|
Line 312 No set of starting bytes
|
\xa0\x{3000}\x9f\xa1\x{2fff}\x{3001} |
\xa0\x{3000}\x9f\xa1\x{2fff}\x{3001} |
0: \x9f\xa1\x{2fff}\x{3001} |
0: \x9f\xa1\x{2fff}\x{3001} |
|
|
/[\H\x{d800}]+/BZSI | /[\H\x{d800}]+/ |
------------------------------------------------------------------ | |
Bra | |
[\x00-\x08\x0a-\x1f!-\x9f\xa1-\xff\x{100}-\x{167f}\x{1681}-\x{180d}\x{180f}-\x{1fff}\x{200b}-\x{202e}\x{2030}-\x{205e}\x{2060}-\x{2fff}\x{3001}-\x{ffff}\x{d800}]+ | |
Ket | |
End | |
------------------------------------------------------------------ | |
Capturing subpattern count = 0 | |
No options | |
No first char | |
No need char | |
Subject length lower bound = 1 | |
No set of starting bytes | |
\x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f} |
\x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f} |
0: \x{167f}\x{1681}\x{180d}\x{180f} |
0: \x{167f}\x{1681}\x{180d}\x{180f} |
\x{2000}\x{200a}\x{1fff}\x{200b} |
\x{2000}\x{200a}\x{1fff}\x{200b} |
Line 410 No set of starting bytes
|
Line 364 No set of starting bytes
|
\x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86 |
\x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86 |
0: \x09\x0e\x84\x86 |
0: \x09\x0e\x84\x86 |
|
|
/[\V\x{d800}]+/BZSI | /[\V\x{d800}]+/ |
------------------------------------------------------------------ | |
Bra | |
[\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffff}\x{d800}]+ | |
Ket | |
End | |
------------------------------------------------------------------ | |
Capturing subpattern count = 0 | |
No options | |
No first char | |
No need char | |
Subject length lower bound = 1 | |
No set of starting bytes | |
\x{2028}\x{2029}\x{2027}\x{2030} |
\x{2028}\x{2029}\x{2027}\x{2030} |
0: \x{2027}\x{2030} |
0: \x{2027}\x{2030} |
\x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86 |
\x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86 |
Line 452 Need char = \x{dd00}
|
Line 394 Need char = \x{dd00}
|
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
Bra |
[^\x80] |
[^\x80] |
[^\xff] | [^\x{ff}] |
[^\x{100}] |
[^\x{100}] |
[^\x{1000}] |
[^\x{1000}] |
[^\x{ffff}] |
[^\x{ffff}] |
Line 464 Need char = \x{dd00}
|
Line 406 Need char = \x{dd00}
|
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
Bra |
/i [^\x80] |
/i [^\x80] |
/i [^\xff] | /i [^\x{ff}] |
/i [^\x{100}] |
/i [^\x{100}] |
/i [^\x{1000}] |
/i [^\x{1000}] |
/i [^\x{ffff}] |
/i [^\x{ffff}] |
Line 539 MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF01
|
Line 481 MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF01
|
Ket |
Ket |
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
|
|
|
/^\x{ffff}+/i |
|
\x{ffff} |
|
0: \x{ffff} |
|
|
|
/^\x{ffff}?/i |
|
\x{ffff} |
|
0: \x{ffff} |
|
|
|
/^\x{ffff}*/i |
|
\x{ffff} |
|
0: \x{ffff} |
|
|
|
/^\x{ffff}{3}/i |
|
\x{ffff}\x{ffff}\x{ffff} |
|
0: \x{ffff}\x{ffff}\x{ffff} |
|
|
|
/^\x{ffff}{0,3}/i |
|
\x{ffff} |
|
0: \x{ffff} |
|
|
/-- End of testinput17 --/ |
/-- End of testinput17 --/ |