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

Diff of /code/trunk/testdata/testinput5

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 96 by nigel, Fri Mar 2 13:10:43 2007 UTC revision 161 by ph10, Thu May 3 10:28:07 2007 UTC
# Line 1  Line 1 
1  /\x{100}/8DM  /\x{100}/8DZM
2    
3  /\x{1000}/8DM  /\x{1000}/8DZM
4    
5  /\x{10000}/8DM  /\x{10000}/8DZM
6    
7  /\x{100000}/8DM  /\x{100000}/8DZM
8    
9  /\x{1000000}/8DM  /\x{1000000}/8DZM
10    
11  /\x{4000000}/8DM  /\x{4000000}/8DZM
12    
13  /\x{7fffFFFF}/8DM  /\x{7fffFFFF}/8DZM
14    
15  /[\x{ff}]/8DM  /[\x{ff}]/8DZM
16    
17  /[\x{100}]/8DM  /[\x{100}]/8DZM
18    
19  /\x{ffffffff}/8  /\x{ffffffff}/8
20    
# Line 23  Line 23 
23  /^\x{100}a\x{1234}/8  /^\x{100}a\x{1234}/8
24      \x{100}a\x{1234}bcd      \x{100}a\x{1234}bcd
25    
26  /\x80/8D  /\x80/8DZ
27    
28  /\xff/8D  /\xff/8DZ
29    
30  /\x{0041}\x{2262}\x{0391}\x{002e}/D8  /\x{0041}\x{2262}\x{0391}\x{002e}/DZ8
31      \x{0041}\x{2262}\x{0391}\x{002e}      \x{0041}\x{2262}\x{0391}\x{002e}
32    
33  /\x{D55c}\x{ad6d}\x{C5B4}/D8  /\x{D55c}\x{ad6d}\x{C5B4}/DZ8
34      \x{D55c}\x{ad6d}\x{C5B4}      \x{D55c}\x{ad6d}\x{C5B4}
35    
36  /\x{65e5}\x{672c}\x{8a9e}/D8  /\x{65e5}\x{672c}\x{8a9e}/DZ8
37      \x{65e5}\x{672c}\x{8a9e}      \x{65e5}\x{672c}\x{8a9e}
38    
39  /\x{80}/D8  /\x{80}/DZ8
40    
41  /\x{084}/D8  /\x{084}/DZ8
42    
43  /\x{104}/D8  /\x{104}/DZ8
44    
45  /\x{861}/D8  /\x{861}/DZ8
46    
47  /\x{212ab}/D8  /\x{212ab}/DZ8
48    
49  /.{3,5}X/D8  /.{3,5}X/DZ8
50      \x{212ab}\x{212ab}\x{212ab}\x{861}X      \x{212ab}\x{212ab}\x{212ab}\x{861}X
51    
52    
53  /.{3,5}?/D8  /.{3,5}?/DZ8
54      \x{212ab}\x{212ab}\x{212ab}\x{861}      \x{212ab}\x{212ab}\x{212ab}\x{861}
55    
56  /-- These tests are here rather than in testinput4 because Perl 5.6 has --/  /-- These tests are here rather than in testinput4 because Perl 5.6 has some
57  /-- some problems with UTF-8 support, in the area of \x{..} where the   --/  problems with UTF-8 support, in the area of \x{..} where the value is < 255.
58  /-- value is < 255. It grumbles about invalid UTF-8 strings.            --/  It grumbles about invalid UTF-8 strings. --/
59    
60  /^[a\x{c0}]b/8  /^[a\x{c0}]b/8
61      \x{c0}b      \x{c0}b
# Line 80  Line 80 
80  /(?<=\C)X/8  /(?<=\C)X/8
81      Should produce an error diagnostic      Should produce an error diagnostic
82    
83  /-- This one is here not because it's different to Perl, but because the --/  /-- This one is here not because it's different to Perl, but because the way
84  /-- way the captured single-byte is displayed. (In Perl it becomes a --/  the captured single-byte is displayed. (In Perl it becomes a character, and you
85  /-- character, and you can't tell the difference.) --/  can't tell the difference.) --/
86    
87  /X(\C)(.*)/8  /X(\C)(.*)/8
88      X\x{1234}      X\x{1234}
89      X\nabc      X\nabc
90    
91  /^[ab]/8D  /^[ab]/8DZ
92      bar      bar
93      *** Failers      *** Failers
94      c      c
95      \x{ff}      \x{ff}
96      \x{100}      \x{100}
97    
98  /^[^ab]/8D  /^[^ab]/8DZ
99      c      c
100      \x{ff}      \x{ff}
101      \x{100}      \x{100}
102      *** Failers      *** Failers
103      aaa      aaa
104    
105  /[^ab\xC0-\xF0]/8SD  /[^ab\xC0-\xF0]/8SDZ
106      \x{f1}      \x{f1}
107      \x{bf}      \x{bf}
108      \x{100}      \x{100}
# Line 111  Line 111 
111      \x{c0}      \x{c0}
112      \x{f0}      \x{f0}
113    
114  /Ā{3,4}/8SD  /Ā{3,4}/8SDZ
115    \x{100}\x{100}\x{100}\x{100\x{100}    \x{100}\x{100}\x{100}\x{100\x{100}
116    
117  /(\x{100}+|x)/8SD  /(\x{100}+|x)/8SDZ
118    
119  /(\x{100}*a|x)/8SD  /(\x{100}*a|x)/8SDZ
120    
121  /(\x{100}{0,2}a|x)/8SD  /(\x{100}{0,2}a|x)/8SDZ
122    
123  /(\x{100}{1,2}a|x)/8SD  /(\x{100}{1,2}a|x)/8SDZ
124    
125  /\x{100}*(\d+|"(?1)")/8  /\x{100}*(\d+|"(?1)")/8
126      1234      1234
# Line 132  Line 132 
132      *** Failers      *** Failers
133      \x{100}\x{100}abcd      \x{100}\x{100}abcd
134    
135  /\x{100}/8D  /\x{100}/8DZ
136    
137  /\x{100}*/8D  /\x{100}*/8DZ
138    
139  /a\x{100}*/8D  /a\x{100}*/8DZ
140    
141  /ab\x{100}*/8D  /ab\x{100}*/8DZ
142    
143  /a\x{100}\x{101}*/8D  /a\x{100}\x{101}*/8DZ
144    
145  /a\x{100}\x{101}+/8D  /a\x{100}\x{101}+/8DZ
146    
147  /\x{100}*A/8D  /\x{100}*A/8DZ
148      A      A
149    
150  /\x{100}*\d(?R)/8D  /\x{100}*\d(?R)/8DZ
151    
152  /[^\x{c4}]/D  /[^\x{c4}]/DZ
153    
154  /[^\x{c4}]/8D  /[^\x{c4}]/8DZ
155    
156  /[\x{100}]/8DM  /[\x{100}]/8DZM
157      \x{100}      \x{100}
158      Z\x{100}      Z\x{100}
159      \x{100}Z      \x{100}Z
160      *** Failers      *** Failers
161    
162  /[Z\x{100}]/8DM  /[Z\x{100}]/8DZM
163      Z\x{100}      Z\x{100}
164      \x{100}      \x{100}
165      \x{100}Z      \x{100}Z
# Line 174  Line 174 
174      \x{105}      \x{105}
175      \x{ff}      \x{ff}
176    
177  /[z-\x{100}]/8D  /[z-\x{100}]/8DZ
178    
179  /[z\Qa-d]Ā\E]/8D  /[z\Qa-d]Ā\E]/8DZ
180      \x{100}      \x{100}
181      Ā      Ā
182    
183  /[\xFF]/D  /[\xFF]/DZ
184      >\xff<      >\xff<
185    
186  /[\xff]/D8  /[\xff]/DZ8
187      >\x{ff}<      >\x{ff}<
188    
189  /[^\xFF]/D  /[^\xFF]/DZ
190    
191  /[^\xff]/8D  /[^\xff]/8DZ
192    
193  /[Ä-Ü]/8  /[Ä-Ü]/8
194      Ö # Matches without Study      Ö # Matches without Study
# Line 212  Line 212 
212    
213  /xxx/8  /xxx/8
214    
215  /xxx/8?D  /xxx/8?DZ
216    
217  /abc/8  /abc/8
218      ]      ]
# Line 239  Line 239 
239      \xfc\x84\x80\x80\x80\x80      \xfc\x84\x80\x80\x80\x80
240      \xfd\x83\x80\x80\x80\x80      \xfd\x83\x80\x80\x80\x80
241    
242  /\x{100}abc(xyz(?1))/8D  /\x{100}abc(xyz(?1))/8DZ
243    
244  /[^\x{100}]abc(xyz(?1))/8D  /[^\x{100}]abc(xyz(?1))/8DZ
245    
246  /[ab\x{100}]abc(xyz(?1))/8D  /[ab\x{100}]abc(xyz(?1))/8DZ
247    
248  /(\x{100}(b(?2)c))?/D8  /(\x{100}(b(?2)c))?/DZ8
249    
250  /(\x{100}(b(?2)c)){0,2}/D8  /(\x{100}(b(?2)c)){0,2}/DZ8
251    
252  /(\x{100}(b(?1)c))?/D8  /(\x{100}(b(?1)c))?/DZ8
253    
254  /(\x{100}(b(?1)c)){0,2}/D8  /(\x{100}(b(?1)c)){0,2}/DZ8
255    
256  /\W/8  /\W/8
257      A.B      A.B
# Line 263  Line 263 
263  /a\x{1234}b/P8  /a\x{1234}b/P8
264      a\x{1234}b      a\x{1234}b
265    
266  /^\ሴ/8D  /^\ሴ/8DZ
267    
268  /\777/I  /\777/I
269    
# Line 271  Line 271 
271    \x{1ff}    \x{1ff}
272    \777    \777
273    
274  /\x{100}*\d/8D  /\x{100}*\d/8DZ
275    
276  /\x{100}*\s/8D  /\x{100}*\s/8DZ
277    
278  /\x{100}*\w/8D  /\x{100}*\w/8DZ
279    
280  /\x{100}*\D/8D  /\x{100}*\D/8DZ
281    
282  /\x{100}*\S/8D  /\x{100}*\S/8DZ
283    
284  /\x{100}*\W/8D  /\x{100}*\W/8DZ
285    
286  /\x{100}+\x{200}/8D  /\x{100}+\x{200}/8DZ
287    
288  /\x{100}+X/8D  /\x{100}+X/8DZ
289    
290  /X+\x{200}/8D  /X+\x{200}/8DZ
291    
292  /()()()()()()()()()()  /()()()()()()()()()()
293   ()()()()()()()()()()   ()()()()()()()()()()

Legend:
Removed from v.96  
changed lines
  Added in v.161

  ViewVC Help
Powered by ViewVC 1.1.5