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

Contents of /code/trunk/testdata/testoutput25

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1388 - (show annotations)
Tue Nov 5 15:24:45 2013 UTC (7 years, 6 months ago) by ph10
File size: 2081 byte(s)
Add a simple tripwire to pcretest to lock out certain modifiers.
1 /-- Tests for the 32-bit library only */
2
3 < forbid 8w
4
5 /-- Check maximum character size --/
6
7 /\x{110000}/
8
9 /\x{7fffffff}/
10
11 /\x{80000000}/
12
13 /\x{ffffffff}/
14
15 /\x{100000000}/
16 Failed: character value in \x{} or \o{} is too large at offset 12
17
18 /\o{17777777777}/
19
20 /\o{20000000000}/
21
22 /\o{37777777777}/
23
24 /\o{40000000000}/
25 Failed: character value in \x{} or \o{} is too large at offset 14
26
27 /\x{7fffffff}\x{7fffffff}/I
28 Capturing subpattern count = 0
29 No options
30 First char = \x{7fffffff}
31 Need char = \x{7fffffff}
32
33 /\x{80000000}\x{80000000}/I
34 Capturing subpattern count = 0
35 No options
36 First char = \x{80000000}
37 Need char = \x{80000000}
38
39 /\x{ffffffff}\x{ffffffff}/I
40 Capturing subpattern count = 0
41 No options
42 First char = \x{ffffffff}
43 Need char = \x{ffffffff}
44
45 /-- Non-UTF characters --/
46
47 /\C{2,3}/
48 \x{400000}\x{400001}\x{400002}\x{400003}
49 0: \x{400000}\x{400001}\x{400002}
50
51 /\x{400000}\x{800000}/iDZ
52 ------------------------------------------------------------------
53 Bra
54 /i \x{400000}\x{800000}
55 Ket
56 End
57 ------------------------------------------------------------------
58 Capturing subpattern count = 0
59 Options: caseless
60 First char = \x{400000}
61 Need char = \x{800000}
62
63 /-- Check character ranges --/
64
65 /[\H]/BZSI
66 ------------------------------------------------------------------
67 Bra
68 [\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}]
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 /[\V]/BZSI
80 ------------------------------------------------------------------
81 Bra
82 [\x00-\x09\x0e-\x84\x{86}-\x{2027}\x{202a}-\x{ffffffff}]
83 Ket
84 End
85 ------------------------------------------------------------------
86 Capturing subpattern count = 0
87 No options
88 No first char
89 No need char
90 Subject length lower bound = 1
91 No set of starting bytes
92
93 /-- End of testinput25 --/

  ViewVC Help
Powered by ViewVC 1.1.5