/[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 836 by ph10, Wed Dec 28 17:16:11 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    
 <testdata/saved8  
 Compiled pattern loaded from testdata/saved8  
 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    /[^\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    /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZi
455    ------------------------------------------------------------------
456            Bra
457         /i [^\x80]
458         /i [^\x{ff}]
459         /i [^\x{100}]
460         /i [^\x{1000}]
461         /i [^\x{ffff}]
462            Ket
463            End
464    ------------------------------------------------------------------
465    
466    /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZ
467    ------------------------------------------------------------------
468            Bra
469            [^\x{100}]*
470            [^\x{1000}]+
471            [^\x{ffff}]??
472            [^\x{8000}]{4}
473            [^\x{8000}]*
474            [^\x{7fff}]{2}
475            [^\x{7fff}]{0,7}?
476            [^\x{100}]{5}
477            [^\x{100}]?+
478            Ket
479            End
480    ------------------------------------------------------------------
481    
482    /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZi
483    ------------------------------------------------------------------
484            Bra
485         /i [^\x{100}]*
486         /i [^\x{1000}]+
487         /i [^\x{ffff}]??
488         /i [^\x{8000}]{4}
489         /i [^\x{8000}]*
490         /i [^\x{7fff}]{2}
491         /i [^\x{7fff}]{0,7}?
492            Once
493         /i [^\x{100}]{5}
494         /i [^\x{100}]?
495            Ket
496            Ket
497            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.836  
changed lines
  Added in v.1055

  ViewVC Help
Powered by ViewVC 1.1.5