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

Contents of /code/trunk/testdata/testoutput25

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1373 - (show annotations)
Sat Oct 12 14:54:53 2013 UTC (5 years, 11 months ago) by chpe
File size: 2068 byte(s)
Fix \o{...} to accept characters between 0x80000000 and 0xffffffff

The 32-bit library in non-UTF-32 mode can accept any 32-bit character, not
just up to 0x7fffffff.
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{100000000}/
14 Failed: character value in \x{} or \o{} is too large at offset 12
15
16 /\o{17777777777}/
17
18 /\o{20000000000}/
19
20 /\o{37777777777}/
21
22 /\o{40000000000}/
23 Failed: character value in \x{} or \o{} is too large at offset 14
24
25 /\x{7fffffff}\x{7fffffff}/I
26 Capturing subpattern count = 0
27 No options
28 First char = \x{7fffffff}
29 Need char = \x{7fffffff}
30
31 /\x{80000000}\x{80000000}/I
32 Capturing subpattern count = 0
33 No options
34 First char = \x{80000000}
35 Need char = \x{80000000}
36
37 /\x{ffffffff}\x{ffffffff}/I
38 Capturing subpattern count = 0
39 No options
40 First char = \x{ffffffff}
41 Need char = \x{ffffffff}
42
43 /-- Non-UTF characters --/
44
45 /\C{2,3}/
46 \x{400000}\x{400001}\x{400002}\x{400003}
47 0: \x{400000}\x{400001}\x{400002}
48
49 /\x{400000}\x{800000}/iDZ
50 ------------------------------------------------------------------
51 Bra
52 /i \x{400000}\x{800000}
53 Ket
54 End
55 ------------------------------------------------------------------
56 Capturing subpattern count = 0
57 Options: caseless
58 First char = \x{400000}
59 Need char = \x{800000}
60
61 /-- Check character ranges --/
62
63 /[\H]/BZSI
64 ------------------------------------------------------------------
65 Bra
66 [\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}]
67 Ket
68 End
69 ------------------------------------------------------------------
70 Capturing subpattern count = 0
71 No options
72 No first char
73 No need char
74 Subject length lower bound = 1
75 No set of starting bytes
76
77 /[\V]/BZSI
78 ------------------------------------------------------------------
79 Bra
80 [\x00-\x09\x0e-\x84\x{86}-\x{2027}\x{202a}-\x{ffffffff}]
81 Ket
82 End
83 ------------------------------------------------------------------
84 Capturing subpattern count = 0
85 No options
86 No first char
87 No need char
88 Subject length lower bound = 1
89 No set of starting bytes
90
91 /-- End of testinput25 --/

  ViewVC Help
Powered by ViewVC 1.1.5