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

Diff of /code/trunk/testdata/testinput17

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

code/branches/pcre16/testdata/testinput17 revision 823 by ph10, Sat Dec 24 17:43:22 2011 UTC code/trunk/testdata/testinput17 revision 1212 by ph10, Wed Nov 7 17:13:22 2012 UTC
# Line 1  Line 1 
1  /-- This set of tests is for the 16-bit library's basic (non-UTF-16) features  /-- This set of tests is for the 16- and 32-bit library's basic (non-UTF-16
2      that are not compatible with the 8-bit library, or which give different      or -32) features that are not compatible with the 8-bit library, or which
3      output in 16-bit mode. --/      give different output in 16- or 32-bit mode. --/
4    
5  /a\Cb/  /a\Cb/
6      aXb      aXb
7      a\nb      a\nb
8    
 /-- Check maximum non-UTF character size --/  
   
 /\x{ffff}/  
     A\x{ffff}B  
   
 /\x{10000}/  
   
9  /[^\x{c4}]/DZ  /[^\x{c4}]/DZ
   
10    
11  /\x{100}/I  /\x{100}/I
12    
# Line 213  Line 205 
205  \)  )*                       # optional trailing comment  \)  )*                       # optional trailing comment
206  /xSI  /xSI
207    
208    /[\h]/BZ
209        >\x09<
210    
211    /[\h]+/BZ
212        >\x09\x20\xa0<
213    
214    /[\v]/BZ
215    
216    /[^\h]/BZ
217    
218    /\h+/SI
219        \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
220        \x{3001}\x{2fff}\x{200a}\xa0\x{2000}
221    
222    /[\h\x{dc00}]+/BZSI
223        \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
224        \x{3001}\x{2fff}\x{200a}\xa0\x{2000}
225    
226    /\H+/SI
227        \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
228        \x{2000}\x{200a}\x{1fff}\x{200b}
229        \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
230        \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
231    
232    /[\H\x{d800}]+/
233        \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
234        \x{2000}\x{200a}\x{1fff}\x{200b}
235        \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
236        \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
237    
238    /\v+/SI
239        \x{2027}\x{2030}\x{2028}\x{2029}
240        \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
241    
242    /[\v\x{dc00}]+/BZSI
243        \x{2027}\x{2030}\x{2028}\x{2029}
244        \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
245    
246    /\V+/SI
247        \x{2028}\x{2029}\x{2027}\x{2030}
248        \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
249    
250    /[\V\x{d800}]+/
251        \x{2028}\x{2029}\x{2027}\x{2030}
252        \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
253    
254    /\R+/SI<bsr_unicode>
255        \x{2027}\x{2030}\x{2028}\x{2029}
256        \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
257    
258    /\x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}/I
259        \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
260    
261    /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZ
262    
263    /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZi
264    
265    /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZ
266    
267    /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZi
268    
269    /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF)XX/K
270        XX
271    
272    /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE)XX/K
273        XX
274    
275    /\u0100/<JS>BZ
276    
277    /[\u0100-\u0200]/<JS>BZ
278    
279    /\ud800/<JS>BZ
280    
281    /^\x{ffff}+/i
282        \x{ffff}
283    
284    /^\x{ffff}?/i
285        \x{ffff}
286    
287    /^\x{ffff}*/i
288        \x{ffff}
289    
290    /^\x{ffff}{3}/i
291        \x{ffff}\x{ffff}\x{ffff}
292    
293    /^\x{ffff}{0,3}/i
294        \x{ffff}
295    
296  /-- End of testinput17 --/  /-- End of testinput17 --/

Legend:
Removed from v.823  
changed lines
  Added in v.1212

  ViewVC Help
Powered by ViewVC 1.1.5