/[pcre]/code/trunk/pcre_jit_test.c
ViewVC logotype

Diff of /code/trunk/pcre_jit_test.c

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

revision 1272 by zherczeg, Thu Mar 7 11:30:01 2013 UTC revision 1275 by zherczeg, Sun Mar 10 05:32:10 2013 UTC
# Line 696  static struct regression_test_case regre Line 696  static struct regression_test_case regre
696          { MUA, 0 | F_NOMATCH, "a(*COMMIT)(*:msg)b|ac", "ac" },          { MUA, 0 | F_NOMATCH, "a(*COMMIT)(*:msg)b|ac", "ac" },
697          { MUA, 0, "(?=a(*COMMIT)b|ac)ac|(*:m)(a)c", "ac" },          { MUA, 0, "(?=a(*COMMIT)b|ac)ac|(*:m)(a)c", "ac" },
698          { MUA, 0, "(?!a(*COMMIT)(*:msg)b)a(c)|cd", "acd" },          { MUA, 0, "(?!a(*COMMIT)(*:msg)b)a(c)|cd", "acd" },
699            { MUA, 0, "(?=(a)(*COMMIT)b)|ac", "ac" },
700            { MUA, 0, "(?=(a)+(*COMMIT)b)|ac", "ac" },
701    
702          /* (*PRUNE) verb. */          /* (*PRUNE) verb. */
703          { MUA, 0, "aa\\K(*PRUNE)b", "aaab" },          { MUA, 0, "aa\\K(*PRUNE)b", "aaab" },
# Line 704  static struct regression_test_case regre Line 706  static struct regression_test_case regre
706          { MUA, 0, "(a)(a)(a)(a)(a)(a)(a)(a)(*PRUNE)b|(a)", "aaaaaaaa" },          { MUA, 0, "(a)(a)(a)(a)(a)(a)(a)(a)(*PRUNE)b|(a)", "aaaaaaaa" },
707          { MUA | PCRE_PARTIAL_SOFT, 0, "a(*PRUNE)a|", "a" },          { MUA | PCRE_PARTIAL_SOFT, 0, "a(*PRUNE)a|", "a" },
708          { MUA | PCRE_PARTIAL_SOFT, 0, "a(*PRUNE)a|m", "a" },          { MUA | PCRE_PARTIAL_SOFT, 0, "a(*PRUNE)a|m", "a" },
709            { MUA, 0 | F_NOMATCH, "a(*COMMIT)(*PRUNE)d|bc", "abc" },
710            { MUA, 0, "(?=a(*COMMIT)b)a(*PRUNE)c|bc", "abc" },
711            { MUA, 0 | F_NOMATCH, "(*COMMIT)(?=a(*COMMIT)b)a(*PRUNE)c|bc", "abc" },
712            { MUA, 0, "(?=(a)(*COMMIT)b)a(*PRUNE)c|bc", "abc" },
713            { MUA, 0 | F_NOMATCH, "(*COMMIT)(?=(a)(*COMMIT)b)a(*PRUNE)c|bc", "abc" },
714            { MUA, 0, "(a(*COMMIT)b){0}a(?1)(*PRUNE)c|bc", "abc" },
715            { MUA, 0 | F_NOMATCH, "(a(*COMMIT)b){0}a(*COMMIT)(?1)(*PRUNE)c|bc", "abc" },
716    
717          /* Deep recursion. */          /* Deep recursion. */
718          { MUA, 0, "((((?:(?:(?:\\w)+)?)*|(?>\\w)+?)+|(?>\\w)?\?)*)?\\s", "aaaaa+ " },          { MUA, 0, "((((?:(?:(?:\\w)+)?)*|(?>\\w)+?)+|(?>\\w)?\?)*)?\\s", "aaaaa+ " },

Legend:
Removed from v.1272  
changed lines
  Added in v.1275

  ViewVC Help
Powered by ViewVC 1.1.5