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

Contents of /code/trunk/testdata/testinput5

Parent Directory Parent Directory | Revision Log Revision Log


Revision 63 - (hide annotations) (download)
Sat Feb 24 21:40:03 2007 UTC (7 years, 6 months ago) by nigel
File size: 2507 byte(s)
Load pcre-4.0 into code/trunk.

1 nigel 63 /\x{100}/8DM
2 nigel 49
3 nigel 63 /\x{1000}/8DM
4 nigel 49
5 nigel 63 /\x{10000}/8DM
6 nigel 49
7 nigel 63 /\x{100000}/8DM
8 nigel 49
9 nigel 63 /\x{1000000}/8DM
10 nigel 49
11 nigel 63 /\x{4000000}/8DM
12 nigel 49
13 nigel 63 /\x{7fffFFFF}/8DM
14 nigel 49
15 nigel 63 /[\x{ff}]/8DM
16 nigel 49
17 nigel 63 /[\x{100}]/8DM
18 nigel 49
19 nigel 63 /\x{ffffffff}/8
20 nigel 49
21 nigel 63 /\x{100000000}/8
22 nigel 49
23 nigel 63 /^\x{100}a\x{1234}/8
24     \x{100}a\x{1234}bcd
25 nigel 49
26 nigel 63 /\x80/8D
27 nigel 49
28 nigel 63 /\xff/8D
29 nigel 49
30 nigel 63 /\x{0041}\x{2262}\x{0391}\x{002e}/D8
31     \x{0041}\x{2262}\x{0391}\x{002e}
32    
33     /\x{D55c}\x{ad6d}\x{C5B4}/D8
34     \x{D55c}\x{ad6d}\x{C5B4}
35 nigel 49
36 nigel 63 /\x{65e5}\x{672c}\x{8a9e}/D8
37     \x{65e5}\x{672c}\x{8a9e}
38 nigel 49
39 nigel 63 /\x{80}/D8
40 nigel 49
41 nigel 63 /\x{084}/D8
42    
43     /\x{104}/D8
44    
45     /\x{861}/D8
46    
47     /\x{212ab}/D8
48    
49     /.{3,5}X/D8
50     \x{212ab}\x{212ab}\x{212ab}\x{861}X
51    
52    
53     /.{3,5}?/D8
54     \x{212ab}\x{212ab}\x{212ab}\x{861}
55    
56     /-- These tests are here rather than in testinput4 because Perl 5.6 has --/
57     /-- some problems with UTF-8 support, in the area of \x{..} where the --/
58     /-- value is < 255. It grumbles about invalid UTF-8 strings. --/
59    
60     /^[a\x{c0}]b/8
61     \x{c0}b
62    
63     /^([a\x{c0}]*?)aa/8
64     a\x{c0}aaaa/
65    
66     /^([a\x{c0}]*?)aa/8
67     a\x{c0}aaaa/
68     a\x{c0}a\x{c0}aaa/
69    
70     /^([a\x{c0}]*)aa/8
71     a\x{c0}aaaa/
72     a\x{c0}a\x{c0}aaa/
73    
74     /^([a\x{c0}]*)a\x{c0}/8
75     a\x{c0}aaaa/
76     a\x{c0}a\x{c0}aaa/
77    
78     /-- --/
79    
80     /(?<=\C)X/8
81     Should produce an error diagnostic
82    
83     /-- This one is here not because it's different to Perl, but because the --/
84     /-- way the captured single-byte is displayed. (In Perl it becomes a --/
85     /-- character, and you can't tell the difference.) --/
86    
87     /X(\C)(.*)/8
88     X\x{1234}
89     X\nabc
90    
91     /^[ab]/8D
92     bar
93 nigel 49 *** Failers
94 nigel 63 c
95     \x{ff}
96     \x{100}
97 nigel 49
98 nigel 63 /^[^ab]/8D
99     c
100     \x{ff}
101     \x{100}
102     *** Failers
103     aaa
104    
105     /[^ab\xC0-\xF0]/8SD
106     \x{f1}
107     \x{bf}
108     \x{100}
109     \x{1000}
110 nigel 49 *** Failers
111 nigel 63 \x{c0}
112     \x{f0}
113 nigel 49
114 nigel 63 /Ā{3,4}/8SD
115     \x{100}\x{100}\x{100}\x{100\x{100}
116 nigel 49
117 nigel 63 /(\x{100}+|x)/8SD
118 nigel 49
119 nigel 63 /(\x{100}*a|x)/8SD
120    
121     /(\x{100}{0,2}a|x)/8SD
122    
123     /(\x{100}{1,2}a|x)/8SD
124    
125     /\x{100}*(\d+|"(?1)")/8
126     1234
127     "1234"
128     \x{100}1234
129     "\x{100}1234"
130     \x{100}\x{100}12ab
131     \x{100}\x{100}"12"
132 nigel 49 *** Failers
133 nigel 63 \x{100}\x{100}abcd
134 nigel 49
135 nigel 63 /\x{100}/8D
136    
137     /\x{100}*/8D
138    
139     /a\x{100}*/8D
140    
141     /ab\x{100}*/8D
142    
143     /a\x{100}\x{101}*/8D
144    
145     /a\x{100}\x{101}+/8D
146    
147     /\x{100}*A/8D
148     A
149    
150     /\x{100}*\d(?R)/8D
151    
152     /[^\x{c4}]/D
153    
154     /[^\x{c4}]/8D
155    
156     /[\x{100}]/8DM
157     \x{100}
158     Z\x{100}
159     \x{100}Z
160     *** Failers
161    
162     /[Z\x{100}]/8DM
163     Z\x{100}
164     \x{100}
165     \x{100}Z
166     *** Failers
167    
168     /[\x{200}-\x{100}]/8
169    
170     /[Ā-Ą]/8
171     \x{100}
172     \x{104}
173     *** Failers
174     \x{105}
175     \x{ff}
176    
177     /[z-\x{100}]/8D
178    
179     /[z-\x{100}]/8Di
180    
181     /[z\Qa-d]Ā\E]/8D
182     \x{100}
183     Ā
184    
185 nigel 49 / End of testinput5 /

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12