/[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 842 by ph10, Sat Dec 31 15:19:04 2011 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 240  Starting byte set: \x09 \x20 ! " # $ % & Line 230  Starting byte set: \x09 \x20 ! " # $ % &
230    9 = ? A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ^ _ ` a b c d e    9 = ? A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ^ _ ` a b c d e
231    f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f \xff    f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f \xff
232    
 <!testsaved8  
 Compiled pattern loaded from testsaved8  
 No study data  
 Error -28 from pcre16_fullinfo(0)  
 Running in 16-bit mode but pattern was compiled in 8-bit mode  
   
233  /[\h]/BZ  /[\h]/BZ
234  ------------------------------------------------------------------  ------------------------------------------------------------------
235          Bra          Bra
# Line 274  Running in 16-bit mode but pattern was c Line 258  Running in 16-bit mode but pattern was c
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 290  Running in 16-bit mode but pattern was c Line 266  Running in 16-bit mode but pattern was c
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 352  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 416  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 454  Need char = \x{dd00} Line 390  Need char = \x{dd00}
390      \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}      \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
391   0: \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}   0: \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
392    
393  /-- Generated from: ^[aL](?P<name>(?:[AaLl]+)[^xX-]*?)(?P<other>[\x{150}-\x{250}\x{300}]|[^\x{800}aAs-uS-U\x{d800}-\x{dfff}])++[^#\b\x{500}\x{1000}]{3,5}$ --/  /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZ
394    ------------------------------------------------------------------
395            Bra
396            [^\x80]
397            [^\x{ff}]
398            [^\x{100}]
399            [^\x{1000}]
400            [^\x{ffff}]
401            Ket
402            End
403    ------------------------------------------------------------------
404    
405  <!testsaved16LE-1  /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZi
406  Compiled pattern loaded from testsaved16LE-1  ------------------------------------------------------------------
407  Study data loaded from testsaved16LE-1          Bra
408  ------------------------------------------------------------------       /i [^\x80]
409    0 134 Bra       /i [^\x{ff}]
410    2     ^       /i [^\x{100}]
411    3     [La]       /i [^\x{1000}]
412   20  43 CBra 1       /i [^\x{ffff}]
413   23  20 Bra          Ket
414   25     [ALal]+          End
415   43  20 Ket  ------------------------------------------------------------------
  45     [\x00-,.-WY-wy-\xff] (neg)*?  
  63  43 Ket  
  65  12 CBraPos 2  
  68     [\x{150}-\x{250}\x{300}]  
  77  27 Alt  
  79     [^AS-Uas-u\x{800}\x{d800}-\x{dfff}]  
 104  39 KetRpos  
 106     [^\x08#\x{500}\x{1000}]{3,5}  
 133     $  
 134 134 Ket  
 136     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 2  
 Named capturing subpatterns:  
   name    1  
   other   2  
 Options: anchored  
 No first char  
 No need char  
 Subject length lower bound = 6  
 No set of starting bytes  
416    
417  <!testsaved16BE-1  /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZ
418  Compiled pattern loaded from testsaved16BE-1  ------------------------------------------------------------------
419  Study data loaded from testsaved16BE-1          Bra
420  ------------------------------------------------------------------          [^\x{100}]*
421    0 134 Bra          [^\x{1000}]+
422    2     ^          [^\x{ffff}]??
423    3     [La]          [^\x{8000}]{4}
424   20  43 CBra 1          [^\x{8000}]*
425   23  20 Bra          [^\x{7fff}]{2}
426   25     [ALal]+          [^\x{7fff}]{0,7}?
427   43  20 Ket          [^\x{100}]{5}
428   45     [\x00-,.-WY-wy-\xff] (neg)*?          [^\x{100}]?+
429   63  43 Ket          Ket
430   65  12 CBraPos 2          End
431   68     [\x{150}-\x{250}\x{300}]  ------------------------------------------------------------------
432   77  27 Alt  
433   79     [^AS-Uas-u\x{800}\x{d800}-\x{dfff}]  /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZi
434  104  39 KetRpos  ------------------------------------------------------------------
435  106     [^\x08#\x{500}\x{1000}]{3,5}          Bra
436  133     $       /i [^\x{100}]*
437  134 134 Ket       /i [^\x{1000}]+
438  136     End       /i [^\x{ffff}]??
439  ------------------------------------------------------------------       /i [^\x{8000}]{4}
440  Capturing subpattern count = 2       /i [^\x{8000}]*
441  Named capturing subpatterns:       /i [^\x{7fff}]{2}
442    name    1       /i [^\x{7fff}]{0,7}?
443    other   2       /i [^\x{100}]{5}
444  Options: anchored       /i [^\x{100}]?+
445  No first char          Ket
446  No need char          End
447  Subject length lower bound = 6  ------------------------------------------------------------------
448  No set of starting bytes  
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
472            End
473    ------------------------------------------------------------------
474    
475    /\ud800/<JS>BZ
476    ------------------------------------------------------------------
477            Bra
478            \x{d800}
479            Ket
480            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.842  
changed lines
  Added in v.1380

  ViewVC Help
Powered by ViewVC 1.1.5