/[pcre]/code/trunk/testdata/testoutput23
ViewVC logotype

Contents of /code/trunk/testdata/testoutput23

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1056 - (show annotations)
Tue Oct 16 15:53:41 2012 UTC (7 years ago) by chpe
File size: 1096 byte(s)
pcre32: compile: Fix \H and \V character ranges for pcre32

Go up to 0xffffffff, and move the tests to the split 16- and 32-bit
tests because the output differs.

TODO: these character ranges look rather odd for non-UTF mode... bug?
1 /-- Tests for the 16-bit library only */
2
3 /-- Check maximum non-UTF character size --/
4
5 /\x{ffff}/
6 A\x{ffff}B
7 0: \x{ffff}
8
9 /\x{10000}/
10 Failed: character value in \x{...} sequence is too large at offset 8
11
12 /-- Check character ranges --/
13
14 /[\H]/BZSI
15 ------------------------------------------------------------------
16 Bra
17 [\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{ffff}]
18 Ket
19 End
20 ------------------------------------------------------------------
21 Capturing subpattern count = 0
22 No options
23 No first char
24 No need char
25 Subject length lower bound = 1
26 No set of starting bytes
27
28 /[\V]/BZSI
29 ------------------------------------------------------------------
30 Bra
31 [\x00-\x09\x0e-\x84\x{86}-\x{2027}\x{202a}-\x{ffff}]
32 Ket
33 End
34 ------------------------------------------------------------------
35 Capturing subpattern count = 0
36 No options
37 No first char
38 No need char
39 Subject length lower bound = 1
40 No set of starting bytes
41
42 /-- End of testinput23 --/

  ViewVC Help
Powered by ViewVC 1.1.5