/[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 1388 by ph10, Tue Nov 5 15:24:45 2013 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    < forbid 8W
6    
7  /a\Cb/  /a\Cb/
8      aXb      aXb
9      a\nb      a\nb
10    
 /-- Check maximum non-UTF character size --/  
   
 /\x{ffff}/  
     A\x{ffff}B  
   
 /\x{10000}/  
   
11  /[^\x{c4}]/DZ  /[^\x{c4}]/DZ
   
12    
13  /\x{100}/I  /\x{100}/I
14    
# Line 213  Line 207 
207  \)  )*                       # optional trailing comment  \)  )*                       # optional trailing comment
208  /xSI  /xSI
209    
210    /[\h]/BZ
211        >\x09<
212    
213    /[\h]+/BZ
214        >\x09\x20\xa0<
215    
216    /[\v]/BZ
217    
218    /[^\h]/BZ
219    
220    /\h+/SI
221        \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
222        \x{3001}\x{2fff}\x{200a}\xa0\x{2000}
223    
224    /[\h\x{dc00}]+/BZSI
225        \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
226        \x{3001}\x{2fff}\x{200a}\xa0\x{2000}
227    
228    /\H+/SI
229        \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
230        \x{2000}\x{200a}\x{1fff}\x{200b}
231        \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
232        \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
233    
234    /[\H\x{d800}]+/
235        \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
236        \x{2000}\x{200a}\x{1fff}\x{200b}
237        \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
238        \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
239    
240    /\v+/SI
241        \x{2027}\x{2030}\x{2028}\x{2029}
242        \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
243    
244    /[\v\x{dc00}]+/BZSI
245        \x{2027}\x{2030}\x{2028}\x{2029}
246        \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
247    
248    /\V+/SI
249        \x{2028}\x{2029}\x{2027}\x{2030}
250        \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
251    
252    /[\V\x{d800}]+/
253        \x{2028}\x{2029}\x{2027}\x{2030}
254        \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
255    
256    /\R+/SI<bsr_unicode>
257        \x{2027}\x{2030}\x{2028}\x{2029}
258        \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
259    
260    /\x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}/I
261        \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
262    
263    /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZ
264    
265    /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZi
266    
267    /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZ
268    
269    /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZi
270    
271    /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF)XX/K
272        XX
273    
274    /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE)XX/K
275        XX
276    
277    /\u0100/<JS>BZ
278    
279    /[\u0100-\u0200]/<JS>BZ
280    
281    /\ud800/<JS>BZ
282    
283    /^\x{ffff}+/i
284        \x{ffff}
285    
286    /^\x{ffff}?/i
287        \x{ffff}
288    
289    /^\x{ffff}*/i
290        \x{ffff}
291    
292    /^\x{ffff}{3}/i
293        \x{ffff}\x{ffff}\x{ffff}
294    
295    /^\x{ffff}{0,3}/i
296        \x{ffff}
297    
298    /[^\x00-a]{12,}[^b-\xff]*/BZ
299    
300    /[^\s]*\s* [^\W]+\W+ [^\d]*?\d0 [^\d\w]{4,6}?\w*A/BZ
301    
302    /a*[b-\x{200}]?a#a*[b-\x{200}]?b#[a-f]*[g-\x{200}]*#[g-\x{200}]*[a-c]*#[g-\x{200}]*[a-h]*/BZ
303    
304  /-- End of testinput17 --/  /-- End of testinput17 --/

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

  ViewVC Help
Powered by ViewVC 1.1.5