/[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 1045 by ph10, Sun Sep 23 16:50:00 2012 UTC revision 1382 by zherczeg, Fri Oct 18 07:55:07 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
# 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 253  Starting byte set: \x09 \x20 ! " # $ % & Line 243  Starting byte set: \x09 \x20 ! " # $ % &
243  /[\h]+/BZ  /[\h]+/BZ
244  ------------------------------------------------------------------  ------------------------------------------------------------------
245          Bra          Bra
246          [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]+          [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]++
247          Ket          Ket
248          End          End
249  ------------------------------------------------------------------  ------------------------------------------------------------------
# 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\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}]  
         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\x{86}-\x{2027}\x{202a}-\x{ffff}]  
         Ket  
         End  
 ------------------------------------------------------------------  
   
 /[\x0a\V]/BZ  
 ------------------------------------------------------------------  
         Bra  
         [\x00-\x0a\x0e-\x84\x{86}-\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 315  Starting byte set: \x09 \x20 \xa0 \xff Line 281  Starting byte set: \x09 \x20 \xa0 \xff
281  /[\h\x{dc00}]+/BZSI  /[\h\x{dc00}]+/BZSI
282  ------------------------------------------------------------------  ------------------------------------------------------------------
283          Bra          Bra
284          [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}\x{dc00}]+          [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}\x{dc00}]++
285          Ket          Ket
286          End          End
287  ------------------------------------------------------------------  ------------------------------------------------------------------
# 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\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}]+  
         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 383  Starting byte set: \x0a \x0b \x0c \x0d \ Line 337  Starting byte set: \x0a \x0b \x0c \x0d \
337  /[\v\x{dc00}]+/BZSI  /[\v\x{dc00}]+/BZSI
338  ------------------------------------------------------------------  ------------------------------------------------------------------
339          Bra          Bra
340          [\x0a-\x0d\x85\x{2028}-\x{2029}\x{dc00}]+          [\x0a-\x0d\x85\x{2028}-\x{2029}\x{dc00}]++
341          Ket          Ket
342          End          End
343  ------------------------------------------------------------------  ------------------------------------------------------------------
# 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\x{86}-\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 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}]?+
         Ket  
445          Ket          Ket
446          End          End
447  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 539  MK: 0123456789ABCDEF0123456789ABCDEF0123 Line 479  MK: 0123456789ABCDEF0123456789ABCDEF0123
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    /[^\x00-a]{12,}[^b-\xff]*/BZ
504    ------------------------------------------------------------------
505            Bra
506            [b-\xff] (neg){12,}
507            [\x00-a] (neg)*+
508            Ket
509            End
510    ------------------------------------------------------------------
511    
512    /[^\s]*\s* [^\W]+\W+ [^\d]*?\d0 [^\d\w]{4,6}?\w*A/BZ
513    ------------------------------------------------------------------
514            Bra
515            [\x00-\x08\x0e-\x1f!-\xff] (neg)*
516            \s*
517    
518            [0-9A-Z_a-z]++
519            \W+
520    
521            [\x00-/:-\xff] (neg)*?
522            \d
523            0
524            [\x00-/:-@[-^`{-\xff] (neg){4,6}?
525            \w*
526            A
527            Ket
528            End
529    ------------------------------------------------------------------
530    
531    /a*[b-\x{200}]?a#a*[b-\x{200}]?b#[a-f]*[g-\x{200}]*#[g-\x{200}]*[a-c]*#[g-\x{200}]*[a-h]*/BZ
532    ------------------------------------------------------------------
533            Bra
534            a*
535            [b-\x{200}]?+
536            a#
537            a*+
538            [b-\x{200}]?
539            b#
540            [a-f]*
541            [g-\x{200}]*+
542            #
543            [g-\x{200}]*
544            [a-c]*+
545            #
546            [g-\x{200}]*
547            [a-h]*+
548            Ket
549            End
550    ------------------------------------------------------------------
551    
552  /-- End of testinput17 --/  /-- End of testinput17 --/

Legend:
Removed from v.1045  
changed lines
  Added in v.1382

  ViewVC Help
Powered by ViewVC 1.1.5