/[pcre]/code/trunk/testdata/testinput11
ViewVC logotype

Diff of /code/trunk/testdata/testinput11

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

revision 604 by ph10, Thu Jun 2 19:04:54 2011 UTC revision 651 by ph10, Mon Aug 1 16:32:40 2011 UTC
# Line 246  Line 246 
246      aaabccc      aaabccc
247    
248  /(A (A|B(*ACCEPT)|C) D)(E)/x  /(A (A|B(*ACCEPT)|C) D)(E)/x
249        AB
250      ABX      ABX
251      AADE      AADE
252      ACDE      ACDE
# Line 403  Line 404 
404      AC      AC
405      CB      CB
406    
407  /(*MARK:A)(*SKIP:B)(C|X)/K  /--- Force no study, otherwise mark is not seen. The studied version is in
408         test 2 because it isn't Perl-compatible. ---/
409    
410    /(*MARK:A)(*SKIP:B)(C|X)/KSS
411      C      C
412      D      D
413    
# Line 435  with the handling of backtracking verbs. Line 439  with the handling of backtracking verbs.
439  /A(*:A)A+(*SKIP:A)(B|Z) | AC/xK  /A(*:A)A+(*SKIP:A)(B|Z) | AC/xK
440      AAAC      AAAC
441    
442  /--- Don't loop! ---/  /--- Don't loop! Force no study, otherwise mark is not seen. ---/
443    
444  /(*:A)A+(*SKIP:A)(B|Z)/K  /(*:A)A+(*SKIP:A)(B|Z)/KSS
445      AAAC      AAAC
446    
447  /--- This should succeed, as a non-existent skip name disables the skip ---/  /--- This should succeed, as a non-existent skip name disables the skip ---/
# Line 584  however, we need the complication for Pe Line 588  however, we need the complication for Pe
588      ab      ab
589      aab      aab
590    
591    /(?1)(?:(b)){0}/
592        b
593    
594    /(foo ( \( ((?:(?> [^()]+ )|(?2))*) \) ) )/x
595        foo(bar(baz)+baz(bop))
596    
597    /(A (A|B(*ACCEPT)|C) D)(E)/x
598        AB
599    
600    /\A.*?(?:a|b(*THEN)c)/
601        ba
602    
603    /\A.*?(?:a|bc)/
604        ba
605    
606    /\A.*?(a|b(*THEN)c)/
607        ba
608    
609    /\A.*?(a|bc)/
610        ba
611    
612    /\A.*?(?:a|b(*THEN)c)++/
613        ba
614    
615    /\A.*?(?:a|bc)++/
616        ba
617    
618    /\A.*?(a|b(*THEN)c)++/
619        ba
620    
621    /\A.*?(a|bc)++/
622        ba
623    
624    /\A.*?(?:a|b(*THEN)c|d)/
625        ba
626    
627    /\A.*?(?:a|bc|d)/
628        ba
629    
630    /(?:(b))++/
631        beetle
632    
633    /(?(?=(a(*ACCEPT)z))a)/
634        a
635    
636    /^(a)(?1)+ab/
637        aaaab
638    
639    /^(a)(?1)++ab/
640        aaaab
641    
642    /^(?=a(*:M))aZ/K
643        aZbc
644    
645    /^(?!(*:M)b)aZ/K
646        aZbc
647    
648    /(?(DEFINE)(a))?b(?1)/
649        backgammon
650    
651    /^\N+/
652        abc\ndef
653    
654    /^\N{1,}/
655        abc\ndef
656    
657    /(?(R)a+|(?R)b)/
658        aaaabcde
659    
660    /(?(R)a+|((?R))b)/
661        aaaabcde
662    
663    /((?(R)a+|(?1)b))/
664        aaaabcde
665    
666    /((?(R1)a+|(?1)b))/
667        aaaabcde
668    
669    /a(*:any
670    name)/K
671        abc
672    
673  /-- End of testinput11 --/  /-- End of testinput11 --/

Legend:
Removed from v.604  
changed lines
  Added in v.651

  ViewVC Help
Powered by ViewVC 1.1.5