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

Contents of /code/trunk/testdata/testoutput25

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1081 - (show annotations)
Tue Oct 16 15:55:12 2012 UTC (6 years, 11 months ago) by chpe
File size: 1843 byte(s)
pcre32: tests: Add test for 32-bit firstchar and reqchar

Make sure that first_char and req_char work for 32-bit characters
using the full 32-bit range.
1 /-- Tests for the 32-bit library only */
2
3 /-- Check maximum character size --/
4
5 /\x{110000}/
6
7 /\x{7fffffff}/
8
9 /\x{80000000}/
10
11 /\x{ffffffff}/
12
13 /\x{7fffffff}\x{7fffffff}/I
14 Capturing subpattern count = 0
15 No options
16 First char = \x{7fffffff}
17 Need char = \x{7fffffff}
18
19 /\x{80000000}\x{80000000}/I
20 Capturing subpattern count = 0
21 No options
22 First char = \x{80000000}
23 Need char = \x{80000000}
24
25 /\x{ffffffff}\x{ffffffff}/I
26 Capturing subpattern count = 0
27 No options
28 First char = \x{ffffffff}
29 Need char = \x{ffffffff}
30
31 /-- Non-UTF characters --/
32
33 /\C{2,3}/
34 \x{400000}\x{400001}\x{400002}\x{400003}
35 0: \x{400000}\x{400001}\x{400002}
36
37 /\x{400000}\x{800000}/iDZ
38 ------------------------------------------------------------------
39 Bra
40 /i \x{400000}\x{800000}
41 Ket
42 End
43 ------------------------------------------------------------------
44 Capturing subpattern count = 0
45 Options: caseless
46 First char = \x{400000}
47 Need char = \x{800000}
48
49 /-- Check character ranges --/
50
51 /[\H]/BZSI
52 ------------------------------------------------------------------
53 Bra
54 [\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{ffffffff}]
55 Ket
56 End
57 ------------------------------------------------------------------
58 Capturing subpattern count = 0
59 No options
60 No first char
61 No need char
62 Subject length lower bound = 1
63 No set of starting bytes
64
65 /[\V]/BZSI
66 ------------------------------------------------------------------
67 Bra
68 [\x00-\x09\x0e-\x84\x{86}-\x{2027}\x{202a}-\x{ffffffff}]
69 Ket
70 End
71 ------------------------------------------------------------------
72 Capturing subpattern count = 0
73 No options
74 No first char
75 No need char
76 Subject length lower bound = 1
77 No set of starting bytes
78
79 /-- End of testinput25 --/

  ViewVC Help
Powered by ViewVC 1.1.5