/[pcre]/code/branches/pcre16/testdata/testinput8
ViewVC logotype

Diff of /code/branches/pcre16/testdata/testinput8

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 231 by ph10, Tue Sep 11 11:15:33 2007 UTC revision 754 by ph10, Sat Nov 19 18:32:18 2011 UTC
# Line 1  Line 1 
1  /-- Do not use the \x{} construct except with patterns that have the --/  /-- This set of tests checks UTF-8 support with the DFA matching functionality
2  /-- /8 option set, because PCRE doesn't recognize them as UTF-8 unless --/      of pcre_dfa_exec(). The -dfa flag must be used with pcretest when running
3  /-- that option is set. However, the latest Perls recognize them always. --/      it. --/
4    
5  /\x{100}ab/8  /\x{100}ab/8
6    \x{100}ab    \x{100}ab
# Line 63  Line 63 
63      ร      ร
64      รรร      รรร
65      รรร\?      รรร\?
66        \xe1\x88
67        \P\xe1\x88
68        \P\P\xe1\x88
69    
70  /a.b/8  /a.b/8
71      acb      acb
# Line 543  Line 546 
546  /abc.$/mgx8<any>  /abc.$/mgx8<any>
547      abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9      abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9
548    
549  /^a\Rb/8  /^a\Rb/8<bsr_unicode>
550      a\nb      a\nb
551      a\rb      a\rb
552      a\r\nb      a\r\nb
# Line 555  Line 558 
558      ** Failers      ** Failers
559      a\n\rb      a\n\rb
560    
561  /^a\R*b/8  /^a\R*b/8<bsr_unicode>
562      ab      ab
563      a\nb      a\nb
564      a\rb      a\rb
# Line 566  Line 569 
569      a\n\rb      a\n\rb
570      a\n\r\x{85}\x0cb      a\n\r\x{85}\x0cb
571    
572  /^a\R+b/8  /^a\R+b/8<bsr_unicode>
573      a\nb      a\nb
574      a\rb      a\rb
575      a\r\nb      a\r\nb
# Line 578  Line 581 
581      ** Failers      ** Failers
582      ab      ab
583    
584  /^a\R{1,3}b/8  /^a\R{1,3}b/8<bsr_unicode>
585      a\nb      a\nb
586      a\n\rb      a\n\rb
587      a\n\r\x{85}b      a\n\r\x{85}b
# Line 664  Line 667 
667      a\x{85}b\<bsr_anycrlf>      a\x{85}b\<bsr_anycrlf>
668      a\x0bb\<bsr_anycrlf>      a\x0bb\<bsr_anycrlf>
669    
670  / End of testinput 8 /  /X/8f<any>
671        A\x{1ec5}ABCXYZ
672    
673    /abcd*/8
674        xxxxabcd\P
675        xxxxabcd\P\P
676    
677    /abcd*/i8
678        xxxxabcd\P
679        xxxxabcd\P\P
680        XXXXABCD\P
681        XXXXABCD\P\P
682    
683    /abc\d*/8
684        xxxxabc1\P
685        xxxxabc1\P\P
686    
687    /abc[de]*/8
688        xxxxabcde\P
689        xxxxabcde\P\P
690    
691    /\bthe cat\b/8
692        the cat\P
693        the cat\P\P
694    
695    /a+/8
696        a\x{123}aa\>1
697        a\x{123}aa\>2
698        a\x{123}aa\>3
699        a\x{123}aa\>4
700        a\x{123}aa\>5
701        a\x{123}aa\>6
702    
703    /ab\Cde/8
704        abXde
705    
706    /(?<=ab\Cde)X/8
707    
708    /-- End of testinput8 --/

Legend:
Removed from v.231  
changed lines
  Added in v.754

  ViewVC Help
Powered by ViewVC 1.1.5