--- embedaddon/pcre/testdata/testoutput17 2012/10/09 09:19:18 1.1.1.2 +++ embedaddon/pcre/testdata/testoutput17 2013/07/22 08:25:57 1.1.1.3 @@ -1,6 +1,6 @@ -/-- This set of tests is for the 16-bit library's basic (non-UTF-16) features - that are not compatible with the 8-bit library, or which give different - output in 16-bit mode. --/ +/-- This set of tests is for the 16- and 32-bit library's basic (non-UTF-16 + or -32) features that are not compatible with the 8-bit library, or which + give different output in 16- or 32-bit mode. --/ /a\Cb/ aXb @@ -8,19 +8,10 @@ a\nb 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 ------------------------------------------------------------------ Bra - [^\xc4] + [^\x{c4}] Ket End ------------------------------------------------------------------ @@ -28,7 +19,6 @@ Capturing subpattern count = 0 No options No first char No need char - /\x{100}/I Capturing subpattern count = 0 @@ -268,14 +258,6 @@ Starting byte set: \x09 \x20 ! " # $ % & ' ( * + - / 0 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 ------------------------------------------------------------------ Bra @@ -284,22 +266,6 @@ Starting byte set: \x09 \x20 ! " # $ % & ' ( * + - / 0 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 Capturing subpattern count = 0 No options @@ -346,19 +312,7 @@ No set of starting bytes \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001} 0: \x9f\xa1\x{2fff}\x{3001} -/[\H\x{d800}]+/BZSI ------------------------------------------------------------------- - 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 +/[\H\x{d800}]+/ \x{1680}\x{180e}\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} @@ -410,19 +364,7 @@ No set of starting bytes \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86 0: \x09\x0e\x84\x86 -/[\V\x{d800}]+/BZSI ------------------------------------------------------------------- - 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 +/[\V\x{d800}]+/ \x{2028}\x{2029}\x{2027}\x{2030} 0: \x{2027}\x{2030} \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86 @@ -452,7 +394,7 @@ Need char = \x{dd00} ------------------------------------------------------------------ Bra [^\x80] - [^\xff] + [^\x{ff}] [^\x{100}] [^\x{1000}] [^\x{ffff}] @@ -464,7 +406,7 @@ Need char = \x{dd00} ------------------------------------------------------------------ Bra /i [^\x80] - /i [^\xff] + /i [^\x{ff}] /i [^\x{100}] /i [^\x{1000}] /i [^\x{ffff}] @@ -539,5 +481,25 @@ MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF01 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 --/