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

Diff of /code/trunk/testdata/testoutput17

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

revision 924 by zherczeg, Wed Feb 22 10:23:56 2012 UTC revision 1380 by ph10, Tue Oct 15 16:49:12 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  /a\Cb/  /a\Cb/
6      aXb      aXb
# Line 8  Line 8 
8      a\nb      a\nb
9   0: a\x0ab   0: a\x0ab
10    
 /-- Check maximum non-UTF character size --/  
   
 /\x{ffff}/  
     A\x{ffff}B  
  0: \x{ffff}  
   
 /\x{10000}/  
 Failed: character value in \x{...} sequence is too large at offset 8  
   
11  /[^\x{c4}]/DZ  /[^\x{c4}]/DZ
12  ------------------------------------------------------------------  ------------------------------------------------------------------
13          Bra          Bra
14          [^\xc4]          [^\x{c4}]
15          Ket          Ket
16          End          End
17  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 28  Capturing subpattern count = 0 Line 19  Capturing subpattern count = 0
19  No options  No options
20  No first char  No first char
21  No need char  No need char
   
22    
23  /\x{100}/I  /\x{100}/I
24  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 268  Starting byte set: \x09 \x20 ! " # $ % & Line 258  Starting byte set: \x09 \x20 ! " # $ % &
258          End          End
259  ------------------------------------------------------------------  ------------------------------------------------------------------
260    
 /[\H]/BZ  
 ------------------------------------------------------------------  
         Bra  
         [\x00-\x08\x0a-\x1f!-\x9f\xa1-\xff\x{100}-\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{ffff}]  
         Ket  
         End  
 ------------------------------------------------------------------  
   
261  /[^\h]/BZ  /[^\h]/BZ
262  ------------------------------------------------------------------  ------------------------------------------------------------------
263          Bra          Bra
# Line 284  Starting byte set: \x09 \x20 ! " # $ % & Line 266  Starting byte set: \x09 \x20 ! " # $ % &
266          End          End
267  ------------------------------------------------------------------  ------------------------------------------------------------------
268    
 /[\V]/BZ  
 ------------------------------------------------------------------  
         Bra  
         [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffff}]  
         Ket  
         End  
 ------------------------------------------------------------------  
   
 /[\x0a\V]/BZ  
 ------------------------------------------------------------------  
         Bra  
         [\x00-\x0a\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffff}]  
         Ket  
         End  
 ------------------------------------------------------------------  
   
269  /\h+/SI  /\h+/SI
270  Capturing subpattern count = 0  Capturing subpattern count = 0
271  No options  No options
# Line 346  No set of starting bytes Line 312  No set of starting bytes
312      \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}      \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
313   0: \x9f\xa1\x{2fff}\x{3001}   0: \x9f\xa1\x{2fff}\x{3001}
314    
315  /[\H\x{d800}]+/BZSI  /[\H\x{d800}]+/
 ------------------------------------------------------------------  
         Bra  
         [\x00-\x08\x0a-\x1f!-\x9f\xa1-\xff\x{100}-\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{ffff}\x{d800}]+  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 No options  
 No first char  
 No need char  
 Subject length lower bound = 1  
 No set of starting bytes  
316      \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}      \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
317   0: \x{167f}\x{1681}\x{180d}\x{180f}   0: \x{167f}\x{1681}\x{180d}\x{180f}
318      \x{2000}\x{200a}\x{1fff}\x{200b}      \x{2000}\x{200a}\x{1fff}\x{200b}
# Line 410  No set of starting bytes Line 364  No set of starting bytes
364      \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86      \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
365   0: \x09\x0e\x84\x86   0: \x09\x0e\x84\x86
366    
367  /[\V\x{d800}]+/BZSI  /[\V\x{d800}]+/
 ------------------------------------------------------------------  
         Bra  
         [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffff}\x{d800}]+  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 No options  
 No first char  
 No need char  
 Subject length lower bound = 1  
 No set of starting bytes  
368      \x{2028}\x{2029}\x{2027}\x{2030}      \x{2028}\x{2029}\x{2027}\x{2030}
369   0: \x{2027}\x{2030}   0: \x{2027}\x{2030}
370      \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86      \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
# Line 452  Need char = \x{dd00} Line 394  Need char = \x{dd00}
394  ------------------------------------------------------------------  ------------------------------------------------------------------
395          Bra          Bra
396          [^\x80]          [^\x80]
397          [^\xff]          [^\x{ff}]
398          [^\x{100}]          [^\x{100}]
399          [^\x{1000}]          [^\x{1000}]
400          [^\x{ffff}]          [^\x{ffff}]
# Line 464  Need char = \x{dd00} Line 406  Need char = \x{dd00}
406  ------------------------------------------------------------------  ------------------------------------------------------------------
407          Bra          Bra
408       /i [^\x80]       /i [^\x80]
409       /i [^\xff]       /i [^\x{ff}]
410       /i [^\x{100}]       /i [^\x{100}]
411       /i [^\x{1000}]       /i [^\x{1000}]
412       /i [^\x{ffff}]       /i [^\x{ffff}]
# Line 498  Need char = \x{dd00} Line 440  Need char = \x{dd00}
440       /i [^\x{8000}]*       /i [^\x{8000}]*
441       /i [^\x{7fff}]{2}       /i [^\x{7fff}]{2}
442       /i [^\x{7fff}]{0,7}?       /i [^\x{7fff}]{0,7}?
         Once  
443       /i [^\x{100}]{5}       /i [^\x{100}]{5}
444       /i [^\x{100}]?       /i [^\x{100}]?+
445            Ket
446            End
447    ------------------------------------------------------------------
448    
449    /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF)XX/K
450        XX
451     0: XX
452    MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
453    
454    /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE)XX/K
455        XX
456     0: XX
457    MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE
458    
459    /\u0100/<JS>BZ
460    ------------------------------------------------------------------
461            Bra
462            \x{100}
463            Ket
464            End
465    ------------------------------------------------------------------
466    
467    /[\u0100-\u0200]/<JS>BZ
468    ------------------------------------------------------------------
469            Bra
470            [\x{100}-\x{200}]
471          Ket          Ket
472            End
473    ------------------------------------------------------------------
474    
475    /\ud800/<JS>BZ
476    ------------------------------------------------------------------
477            Bra
478            \x{d800}
479          Ket          Ket
480          End          End
481  ------------------------------------------------------------------  ------------------------------------------------------------------
482    
483    /^\x{ffff}+/i
484        \x{ffff}
485     0: \x{ffff}
486    
487    /^\x{ffff}?/i
488        \x{ffff}
489     0: \x{ffff}
490    
491    /^\x{ffff}*/i
492        \x{ffff}
493     0: \x{ffff}
494    
495    /^\x{ffff}{3}/i
496        \x{ffff}\x{ffff}\x{ffff}
497     0: \x{ffff}\x{ffff}\x{ffff}
498    
499    /^\x{ffff}{0,3}/i
500        \x{ffff}
501     0: \x{ffff}
502    
503  /-- End of testinput17 --/  /-- End of testinput17 --/

Legend:
Removed from v.924  
changed lines
  Added in v.1380

  ViewVC Help
Powered by ViewVC 1.1.5