/[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 1056 by chpe, Tue Oct 16 15:53:41 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 274  Running in 16-bit mode but pattern was c Line 259  Running in 16-bit mode but pattern was c
259          End          End
260  ------------------------------------------------------------------  ------------------------------------------------------------------
261    
 /[\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  
 ------------------------------------------------------------------  
   
262  /[^\h]/BZ  /[^\h]/BZ
263  ------------------------------------------------------------------  ------------------------------------------------------------------
264          Bra          Bra
# Line 290  Running in 16-bit mode but pattern was c Line 267  Running in 16-bit mode but pattern was c
267          End          End
268  ------------------------------------------------------------------  ------------------------------------------------------------------
269    
 /[\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  
 ------------------------------------------------------------------  
   
270  /\h+/SI  /\h+/SI
271  Capturing subpattern count = 0  Capturing subpattern count = 0
272  No options  No options
# Line 352  No set of starting bytes Line 313  No set of starting bytes
313      \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}      \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
314   0: \x9f\xa1\x{2fff}\x{3001}   0: \x9f\xa1\x{2fff}\x{3001}
315    
316  /[\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  
317      \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}      \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
318   0: \x{167f}\x{1681}\x{180d}\x{180f}   0: \x{167f}\x{1681}\x{180d}\x{180f}
319      \x{2000}\x{200a}\x{1fff}\x{200b}      \x{2000}\x{200a}\x{1fff}\x{200b}
# Line 416  No set of starting bytes Line 365  No set of starting bytes
365      \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86      \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
366   0: \x09\x0e\x84\x86   0: \x09\x0e\x84\x86
367    
368  /[\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  
369      \x{2028}\x{2029}\x{2027}\x{2030}      \x{2028}\x{2029}\x{2027}\x{2030}
370   0: \x{2027}\x{2030}   0: \x{2027}\x{2030}
371      \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 391  Need char = \x{dd00}
391      \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}      \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
392   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}
393    
394  /-- 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
395    ------------------------------------------------------------------
396            Bra
397            [^\x80]
398            [^\x{ff}]
399            [^\x{100}]
400            [^\x{1000}]
401            [^\x{ffff}]
402            Ket
403            End
404    ------------------------------------------------------------------
405    
406  <!testsaved16LE-1  /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZi
407  Compiled pattern loaded from testsaved16LE-1  ------------------------------------------------------------------
408  Study data loaded from testsaved16LE-1          Bra
409  ------------------------------------------------------------------       /i [^\x80]
410    0 134 Bra       /i [^\x{ff}]
411    2     ^       /i [^\x{100}]
412    3     [La]       /i [^\x{1000}]
413   20  43 CBra 1       /i [^\x{ffff}]
414   23  20 Bra          Ket
415   25     [ALal]+          End
416   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  
417    
418  <!testsaved16BE-1  /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZ
419  Compiled pattern loaded from testsaved16BE-1  ------------------------------------------------------------------
420  Study data loaded from testsaved16BE-1          Bra
421  ------------------------------------------------------------------          [^\x{100}]*
422    0 134 Bra          [^\x{1000}]+
423    2     ^          [^\x{ffff}]??
424    3     [La]          [^\x{8000}]{4}
425   20  43 CBra 1          [^\x{8000}]*
426   23  20 Bra          [^\x{7fff}]{2}
427   25     [ALal]+          [^\x{7fff}]{0,7}?
428   43  20 Ket          [^\x{100}]{5}
429   45     [\x00-,.-WY-wy-\xff] (neg)*?          [^\x{100}]?+
430   63  43 Ket          Ket
431   65  12 CBraPos 2          End
432   68     [\x{150}-\x{250}\x{300}]  ------------------------------------------------------------------
433   77  27 Alt  
434   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
435  104  39 KetRpos  ------------------------------------------------------------------
436  106     [^\x08#\x{500}\x{1000}]{3,5}          Bra
437  133     $       /i [^\x{100}]*
438  134 134 Ket       /i [^\x{1000}]+
439  136     End       /i [^\x{ffff}]??
440  ------------------------------------------------------------------       /i [^\x{8000}]{4}
441  Capturing subpattern count = 2       /i [^\x{8000}]*
442  Named capturing subpatterns:       /i [^\x{7fff}]{2}
443    name    1       /i [^\x{7fff}]{0,7}?
444    other   2          Once
445  Options: anchored       /i [^\x{100}]{5}
446  No first char       /i [^\x{100}]?
447  No need char          Ket
448  Subject length lower bound = 6          Ket
449  No set of starting bytes          End
450    ------------------------------------------------------------------
451    
452    /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF)XX/K
453        XX
454     0: XX
455    MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
456    
457    /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE)XX/K
458        XX
459     0: XX
460    MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE
461    
462    /\u0100/<JS>BZ
463    ------------------------------------------------------------------
464            Bra
465            \x{100}
466            Ket
467            End
468    ------------------------------------------------------------------
469    
470    /[\u0100-\u0200]/<JS>BZ
471    ------------------------------------------------------------------
472            Bra
473            [\x{100}-\x{200}]
474            Ket
475            End
476    ------------------------------------------------------------------
477    
478    /\ud800/<JS>BZ
479    ------------------------------------------------------------------
480            Bra
481            \x{d800}
482            Ket
483            End
484    ------------------------------------------------------------------
485    
486  /-- End of testinput17 --/  /-- End of testinput17 --/

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

  ViewVC Help
Powered by ViewVC 1.1.5