/[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 1055 by chpe, Tue Oct 16 15:53:30 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 or -32) features
2      that are not compatible with the 8-bit library, or which give different      that are not compatible with the 8-bit library, or which give different
3      output in 16-bit mode. --/      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 240  Starting byte set: \x09 \x20 ! " # $ % & Line 231  Starting byte set: \x09 \x20 ! " # $ % &
231    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
232    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
233    
 <!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  
   
234  /[\h]/BZ  /[\h]/BZ
235  ------------------------------------------------------------------  ------------------------------------------------------------------
236          Bra          Bra
# Line 277  Running in 16-bit mode but pattern was c Line 262  Running in 16-bit mode but pattern was c
262  /[\H]/BZ  /[\H]/BZ
263  ------------------------------------------------------------------  ------------------------------------------------------------------
264          Bra          Bra
265          [\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}]          [\x00-\x08\x0a-\x1f!-\x9f\x{a1}-\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}]
266          Ket          Ket
267          End          End
268  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 293  Running in 16-bit mode but pattern was c Line 278  Running in 16-bit mode but pattern was c
278  /[\V]/BZ  /[\V]/BZ
279  ------------------------------------------------------------------  ------------------------------------------------------------------
280          Bra          Bra
281          [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffff}]          [\x00-\x09\x0e-\x84\x{86}-\x{2027}\x{202a}-\x{ffff}]
282          Ket          Ket
283          End          End
284  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 301  Running in 16-bit mode but pattern was c Line 286  Running in 16-bit mode but pattern was c
286  /[\x0a\V]/BZ  /[\x0a\V]/BZ
287  ------------------------------------------------------------------  ------------------------------------------------------------------
288          Bra          Bra
289          [\x00-\x0a\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffff}]          [\x00-\x0a\x0e-\x84\x{86}-\x{2027}\x{202a}-\x{ffff}]
290          Ket          Ket
291          End          End
292  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 355  No set of starting bytes Line 340  No set of starting bytes
340  /[\H\x{d800}]+/BZSI  /[\H\x{d800}]+/BZSI
341  ------------------------------------------------------------------  ------------------------------------------------------------------
342          Bra          Bra
343          [\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}]+          [\x00-\x08\x0a-\x1f!-\x9f\x{a1}-\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}]+
344          Ket          Ket
345          End          End
346  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 419  No set of starting bytes Line 404  No set of starting bytes
404  /[\V\x{d800}]+/BZSI  /[\V\x{d800}]+/BZSI
405  ------------------------------------------------------------------  ------------------------------------------------------------------
406          Bra          Bra
407          [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffff}\x{d800}]+          [\x00-\x09\x0e-\x84\x{86}-\x{2027}\x{202a}-\x{ffff}\x{d800}]+
408          Ket          Ket
409          End          End
410  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 454  Need char = \x{dd00} Line 439  Need char = \x{dd00}
439      \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}      \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
440   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}
441    
442  /-- 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
443    ------------------------------------------------------------------
444            Bra
445            [^\x80]
446            [^\x{ff}]
447            [^\x{100}]
448            [^\x{1000}]
449            [^\x{ffff}]
450            Ket
451            End
452    ------------------------------------------------------------------
453    
454  <!testsaved16LE-1  /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZi
455  Compiled pattern loaded from testsaved16LE-1  ------------------------------------------------------------------
456  Study data loaded from testsaved16LE-1          Bra
457  ------------------------------------------------------------------       /i [^\x80]
458    0 134 Bra       /i [^\x{ff}]
459    2     ^       /i [^\x{100}]
460    3     [La]       /i [^\x{1000}]
461   20  43 CBra 1       /i [^\x{ffff}]
462   23  20 Bra          Ket
463   25     [ALal]+          End
464   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  
465    
466  <!testsaved16BE-1  /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZ
467  Compiled pattern loaded from testsaved16BE-1  ------------------------------------------------------------------
468  Study data loaded from testsaved16BE-1          Bra
469  ------------------------------------------------------------------          [^\x{100}]*
470    0 134 Bra          [^\x{1000}]+
471    2     ^          [^\x{ffff}]??
472    3     [La]          [^\x{8000}]{4}
473   20  43 CBra 1          [^\x{8000}]*
474   23  20 Bra          [^\x{7fff}]{2}
475   25     [ALal]+          [^\x{7fff}]{0,7}?
476   43  20 Ket          [^\x{100}]{5}
477   45     [\x00-,.-WY-wy-\xff] (neg)*?          [^\x{100}]?+
478   63  43 Ket          Ket
479   65  12 CBraPos 2          End
480   68     [\x{150}-\x{250}\x{300}]  ------------------------------------------------------------------
481   77  27 Alt  
482   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
483  104  39 KetRpos  ------------------------------------------------------------------
484  106     [^\x08#\x{500}\x{1000}]{3,5}          Bra
485  133     $       /i [^\x{100}]*
486  134 134 Ket       /i [^\x{1000}]+
487  136     End       /i [^\x{ffff}]??
488  ------------------------------------------------------------------       /i [^\x{8000}]{4}
489  Capturing subpattern count = 2       /i [^\x{8000}]*
490  Named capturing subpatterns:       /i [^\x{7fff}]{2}
491    name    1       /i [^\x{7fff}]{0,7}?
492    other   2          Once
493  Options: anchored       /i [^\x{100}]{5}
494  No first char       /i [^\x{100}]?
495  No need char          Ket
496  Subject length lower bound = 6          Ket
497  No set of starting bytes          End
498    ------------------------------------------------------------------
499    
500    /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF)XX/K
501        XX
502     0: XX
503    MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
504    
505    /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE)XX/K
506        XX
507     0: XX
508    MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE
509    
510    /\u0100/<JS>BZ
511    ------------------------------------------------------------------
512            Bra
513            \x{100}
514            Ket
515            End
516    ------------------------------------------------------------------
517    
518    /[\u0100-\u0200]/<JS>BZ
519    ------------------------------------------------------------------
520            Bra
521            [\x{100}-\x{200}]
522            Ket
523            End
524    ------------------------------------------------------------------
525    
526    /\ud800/<JS>BZ
527    ------------------------------------------------------------------
528            Bra
529            \x{d800}
530            Ket
531            End
532    ------------------------------------------------------------------
533    
534  /-- End of testinput17 --/  /-- End of testinput17 --/

Legend:
Removed from v.842  
changed lines
  Added in v.1055

  ViewVC Help
Powered by ViewVC 1.1.5