version 1.1.1.3, 2012/10/09 09:19:18
|
version 1.1.1.5, 2014/06/15 19:46:05
|
Line 1
|
Line 1
|
/-- This set of tests checks the API, internals, and non-Perl stuff for UTF |
/-- This set of tests checks the API, internals, and non-Perl stuff for UTF |
support, excluding Unicode properties. However, tests that give different |
support, excluding Unicode properties. However, tests that give different |
results in 8-bit and 16-bit modes are excluded (see tests 16 and 17). --/ |
results in 8-bit and 16-bit modes are excluded (see tests 16 and 17). --/ |
|
|
|
< forbid W |
|
|
/\x{110000}/8DZ |
/\x{110000}/8DZ |
Failed: character value in \x{...} sequence is too large at offset 9 | Failed: character value in \x{} or \o{} is too large at offset 9 |
|
|
|
/\o{4200000}/8DZ |
|
Failed: character value in \x{} or \o{} is too large at offset 10 |
|
|
/\x{ffffffff}/8 |
/\x{ffffffff}/8 |
Failed: character value in \x{...} sequence is too large at offset 11 | Failed: character value in \x{} or \o{} is too large at offset 11 |
|
|
|
/\o{37777777777}/8 |
|
Failed: character value in \x{} or \o{} is too large at offset 14 |
|
|
/\x{100000000}/8 |
/\x{100000000}/8 |
Failed: character value in \x{...} sequence is too large at offset 12 | Failed: character value in \x{} or \o{} is too large at offset 12 |
|
|
|
/\o{77777777777}/8 |
|
Failed: character value in \x{} or \o{} is too large at offset 14 |
|
|
/\x{d800}/8 |
/\x{d800}/8 |
Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 7 |
Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 7 |
|
|
|
/\o{154000}/8 |
|
Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 9 |
|
|
/\x{dfff}/8 |
/\x{dfff}/8 |
Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 7 |
Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 7 |
|
|
|
/\o{157777}/8 |
|
Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 9 |
|
|
/\x{d7ff}/8 |
/\x{d7ff}/8 |
|
|
|
/\o{153777}/8 |
|
|
/\x{e000}/8 |
/\x{e000}/8 |
|
|
|
/\o{170000}/8 |
|
|
/^\x{100}a\x{1234}/8 |
/^\x{100}a\x{1234}/8 |
\x{100}a\x{1234}bcd |
\x{100}a\x{1234}bcd |
0: \x{100}a\x{1234} |
0: \x{100}a\x{1234} |
Line 146 No match
|
Line 167 No match
|
/\x{100}*/8DZ |
/\x{100}*/8DZ |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
Bra |
\x{100}* | \x{100}*+ |
Ket |
Ket |
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
|
May match empty string |
Options: utf |
Options: utf |
No first char |
No first char |
No need char |
No need char |
Line 159 No need char
|
Line 181 No need char
|
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
Bra |
a |
a |
\x{100}* | \x{100}*+ |
Ket |
Ket |
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Line 172 No need char
|
Line 194 No need char
|
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
Bra |
ab |
ab |
\x{100}* | \x{100}*+ |
Ket |
Ket |
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Line 276 No need char
|
Line 298 No need char
|
/[\xFF]/DZ |
/[\xFF]/DZ |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
Bra |
\xff | \x{ff} |
Ket |
Ket |
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Line 290 No need char
|
Line 312 No need char
|
/[^\xFF]/DZ |
/[^\xFF]/DZ |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
Bra |
[^\xff] | [^\x{ff}] |
Ket |
Ket |
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Line 373 Need char = 'z'
|
Line 395 Need char = 'z'
|
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
|
May match empty string |
Options: utf |
Options: utf |
No first char |
No first char |
No need char |
No need char |
Line 404 No need char
|
Line 427 No need char
|
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
|
May match empty string |
Options: utf |
Options: utf |
No first char |
No first char |
No need char |
No need char |
Line 424 No need char
|
Line 448 No need char
|
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
|
May match empty string |
Options: utf |
Options: utf |
No first char |
No first char |
No need char |
No need char |
Line 455 No need char
|
Line 480 No need char
|
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
|
May match empty string |
Options: utf |
Options: utf |
No first char |
No first char |
No need char |
No need char |
Line 768 No match
|
Line 794 No match
|
/[\h]{3,}/8BZ |
/[\h]{3,}/8BZ |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
Bra |
[\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]{3,} | [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]{3,}+ |
Ket |
Ket |
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Line 786 No match
|
Line 812 No match
|
/[\H]/8BZ |
/[\H]/8BZ |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
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{10ffff}] | [\x00-\x08\x0a-\x1f!-\x9f\x{a1}-\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{10ffff}] |
Ket |
Ket |
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Line 794 No match
|
Line 820 No match
|
/[\V]/8BZ |
/[\V]/8BZ |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
Bra |
[\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{10ffff}] | [\x00-\x09\x0e-\x84\x{86}-\x{2027}\x{202a}-\x{10ffff}] |
Ket |
Ket |
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Line 1572 Failed: disallowed Unicode code point (>= 0xd800 && <=
|
Line 1598 Failed: disallowed Unicode code point (>= 0xd800 && <=
|
/[\h\x{e000}]+/8BZ |
/[\h\x{e000}]+/8BZ |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
Bra |
[\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}\x{e000}]+ | [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}\x{e000}]++ |
Ket |
Ket |
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Line 1594 Failed: disallowed Unicode code point (>= 0xd800 && <=
|
Line 1620 Failed: disallowed Unicode code point (>= 0xd800 && <=
|
/[\H\x{d7ff}]+/8BZ |
/[\H\x{d7ff}]+/8BZ |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
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{10ffff}\x{d7ff}]+ | [\x00-\x08\x0a-\x1f!-\x9f\x{a1}-\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{10ffff}\x{d7ff}]++ |
Ket |
Ket |
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Line 1616 Failed: disallowed Unicode code point (>= 0xd800 && <=
|
Line 1642 Failed: disallowed Unicode code point (>= 0xd800 && <=
|
/[\v\x{e000}]+/8BZ |
/[\v\x{e000}]+/8BZ |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
Bra |
[\x0a-\x0d\x85\x{2028}-\x{2029}\x{e000}]+ | [\x0a-\x0d\x85\x{2028}-\x{2029}\x{e000}]++ |
Ket |
Ket |
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Line 1634 Failed: disallowed Unicode code point (>= 0xd800 && <=
|
Line 1660 Failed: disallowed Unicode code point (>= 0xd800 && <=
|
/[\V\x{d7ff}]+/8BZ |
/[\V\x{d7ff}]+/8BZ |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Bra |
Bra |
[\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{10ffff}\x{d7ff}]+ | [\x00-\x09\x0e-\x84\x{86}-\x{2027}\x{202a}-\x{10ffff}\x{d7ff}]++ |
Ket |
Ket |
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
Line 1808 Partial match: \x{0d}\x{0d}
|
Line 1834 Partial match: \x{0d}\x{0d}
|
/i [^\x{8000}]* |
/i [^\x{8000}]* |
/i [^\x{7fff}]{2} |
/i [^\x{7fff}]{2} |
/i [^\x{7fff}]{0,7}? |
/i [^\x{7fff}]{0,7}? |
Once |
|
/i [^\x{fffff}]{5} |
/i [^\x{fffff}]{5} |
/i [^\x{fffff}]? | /i [^\x{fffff}]?+ |
Ket |
Ket |
Ket |
|
End |
End |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
|
|
/(?<=\x{1234}\x{1234})\bxy/I8 |
/(?<=\x{1234}\x{1234})\bxy/I8 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
|
Max lookbehind = 2 |
Options: utf |
Options: utf |
First char = 'x' |
First char = 'x' |
Need char = 'y' |
Need char = 'y' |
Max lookbehind = 2 |
|
|
|
/(?<!^)ETA/8 |
/(?<!^)ETA/8 |
ETA |
ETA |
Line 1845 No match
|
Line 1869 No match
|
|
|
/\ud800/<JS>8 |
/\ud800/<JS>8 |
Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 5 |
Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 5 |
|
|
|
/^a+[a\x{200}]/8BZ |
|
------------------------------------------------------------------ |
|
Bra |
|
^ |
|
a+ |
|
[a\x{200}] |
|
Ket |
|
End |
|
------------------------------------------------------------------ |
|
aa |
|
0: aa |
|
|
/-- End of testinput5 --/ |
/-- End of testinput5 --/ |