version 1.1, 2012/02/21 23:50:25
|
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 447 First char = \x{d800}
|
Line 389 First char = \x{d800}
|
Need char = \x{dd00} |
Need char = \x{dd00} |
\x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00} |
\x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00} |
0: \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00} |
0: \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00} |
|
|
|
/[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZ |
|
------------------------------------------------------------------ |
|
Bra |
|
[^\x80] |
|
[^\x{ff}] |
|
[^\x{100}] |
|
[^\x{1000}] |
|
[^\x{ffff}] |
|
Ket |
|
End |
|
------------------------------------------------------------------ |
|
|
|
/[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZi |
|
------------------------------------------------------------------ |
|
Bra |
|
/i [^\x80] |
|
/i [^\x{ff}] |
|
/i [^\x{100}] |
|
/i [^\x{1000}] |
|
/i [^\x{ffff}] |
|
Ket |
|
End |
|
------------------------------------------------------------------ |
|
|
|
/[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZ |
|
------------------------------------------------------------------ |
|
Bra |
|
[^\x{100}]* |
|
[^\x{1000}]+ |
|
[^\x{ffff}]?? |
|
[^\x{8000}]{4} |
|
[^\x{8000}]* |
|
[^\x{7fff}]{2} |
|
[^\x{7fff}]{0,7}? |
|
[^\x{100}]{5} |
|
[^\x{100}]?+ |
|
Ket |
|
End |
|
------------------------------------------------------------------ |
|
|
|
/[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZi |
|
------------------------------------------------------------------ |
|
Bra |
|
/i [^\x{100}]* |
|
/i [^\x{1000}]+ |
|
/i [^\x{ffff}]?? |
|
/i [^\x{8000}]{4} |
|
/i [^\x{8000}]* |
|
/i [^\x{7fff}]{2} |
|
/i [^\x{7fff}]{0,7}? |
|
Once |
|
/i [^\x{100}]{5} |
|
/i [^\x{100}]? |
|
Ket |
|
Ket |
|
End |
|
------------------------------------------------------------------ |
|
|
|
/(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF)XX/K |
|
XX |
|
0: XX |
|
MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF |
|
|
|
/(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE)XX/K |
|
XX |
|
0: XX |
|
MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE |
|
|
|
/\u0100/<JS>BZ |
|
------------------------------------------------------------------ |
|
Bra |
|
\x{100} |
|
Ket |
|
End |
|
------------------------------------------------------------------ |
|
|
|
/[\u0100-\u0200]/<JS>BZ |
|
------------------------------------------------------------------ |
|
Bra |
|
[\x{100}-\x{200}] |
|
Ket |
|
End |
|
------------------------------------------------------------------ |
|
|
|
/\ud800/<JS>BZ |
|
------------------------------------------------------------------ |
|
Bra |
|
\x{d800} |
|
Ket |
|
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 --/ |