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

Diff of /code/trunk/testdata/testoutput2

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

revision 1286 by ph10, Fri Mar 15 14:58:48 2013 UTC revision 1296 by ph10, Tue Mar 19 16:29:12 2013 UTC
# Line 12345  COMMIT to escape from the assertion. --/ Line 12345  COMMIT to escape from the assertion. --/
12345    
12346  /(?=a(*COMMIT)b|ac)ac|ac/  /(?=a(*COMMIT)b|ac)ac|ac/
12347      ac      ac
12348   0: ac  No match
12349    
12350  /(?=a(*COMMIT)b|(ac)) ac | (a)c/x  /(?=a(*COMMIT)b|(ac)) ac | (a)c/x
12351      ac      ac
12352   0: ac  No match
  1: <unset>  
  2: a  
12353    
12354  "AB(C(D))(E(F))?(?(?=\2)(?=\4))"  "AB(C(D))(E(F))?(?(?=\2)(?=\4))"
12355      ABCDGHI\O03      ABCDGHI\O03
# Line 12648  Partial match: 123a Line 12646  Partial match: 123a
12646  /aaaaa(*COMMIT)(*PRUNE)b|a+c/  /aaaaa(*COMMIT)(*PRUNE)b|a+c/
12647      aaaaaac      aaaaaac
12648   0: aaaac   0: aaaac
12649    
12650    /-- Here are some that Perl treats differently because of the way it handles
12651    backtracking verbs. --/
12652    
12653     /^(?!a(*SKIP)b)/
12654         ac
12655    No match
12656    
12657     /^(?!a(*SKIP)b)../
12658         acd
12659    No match
12660    
12661    /(?!a(*SKIP)b)../
12662         acd
12663     0: cd
12664    
12665    /^(?(?!a(*SKIP)b))/
12666         ac
12667    No match
12668    
12669    /^(?!a(*PRUNE)b)../
12670         acd
12671    No match
12672    
12673    /(?!a(*PRUNE)b)../
12674         acd
12675     0: cd
12676    
12677     /(?!a(*COMMIT)b)ac|cd/
12678         ac
12679    No match
12680    
12681     /(?!a(*COMMIT)b)ac|ad/
12682         ac
12683    No match
12684         ad
12685    No match
12686    
12687    /^(?!a(*THEN)b|ac)../
12688         ac
12689    No match
12690         ad
12691     0: ad
12692    
12693    /^(?=a(*THEN)b|ac)/
12694        ac
12695     0:
12696    
12697    /\A.*?(?:a|b(*THEN)c)/
12698        ba
12699     0: ba
12700    
12701    /\A.*?(?:a|bc)/
12702        ba
12703     0: ba
12704    
12705    /\A.*?(?:a|b(*THEN)c)++/
12706        ba
12707     0: ba
12708    
12709    /\A.*?(?:a|b(*THEN)c|d)/
12710        ba
12711     0: ba
12712    
12713    /(?:(a(*MARK:X)a+(*SKIP:X)b)){0}(?:(?1)|aac)/
12714        aac
12715     0: aac
12716    
12717    /\A.*?(a|b(*THEN)c)/
12718        ba
12719     0: ba
12720     1: a
12721    
12722    /^(A(*THEN)B|C(*THEN)D)/
12723        CD
12724     0: CD
12725     1: CD
12726    
12727    /^(A(*THEN)B|A(*THEN)D)/
12728        AD
12729     0: AD
12730     1: AD
12731    
12732    /-- End of Perl diffences --/
12733    
12734  /-- End of testinput2 --/  /-- End of testinput2 --/

Legend:
Removed from v.1286  
changed lines
  Added in v.1296

  ViewVC Help
Powered by ViewVC 1.1.5