/[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 677 by ph10, Sun Aug 28 10:50:07 2011 UTC revision 691 by ph10, Sun Sep 11 14:31:21 2011 UTC
# Line 57  POSSIBILITY OF SUCH DAMAGE. Line 57  POSSIBILITY OF SUCH DAMAGE.
57   \xe2\x80\xa8 = 0x2028 (Line Separator)   \xe2\x80\xa8 = 0x2028 (Line Separator)
58   \xc8\xba = 570 \xe2\xb1\xa5 = 11365 (lowercase length != uppercase length)   \xc8\xba = 570 \xe2\xb1\xa5 = 11365 (lowercase length != uppercase length)
59   \xcc\x8d = 781 (Something with Mark property)   \xcc\x8d = 781 (Something with Mark property)
60  */  */
61    
62  static void setstack(pcre_extra *extra);  static void setstack(pcre_extra *extra);
63  static int regression_tests(void);  static int regression_tests(void);
# Line 568  static struct regression_test_case regre Line 568  static struct regression_test_case regre
568          { MUA, 0, "((((?:(?:(?:\\w)+)?)*|(?>\\w)+?)+|(?>\\w)?\?)*)?\\s", "aaaaa+ " },          { MUA, 0, "((((?:(?:(?:\\w)+)?)*|(?>\\w)+?)+|(?>\\w)?\?)*)?\\s", "aaaaa+ " },
569          { MUA, 0, "(?:((?:(?:(?:\\w*?)+)??|(?>\\w)?|\\w*+)*)+)+?\\s", "aa+ " },          { MUA, 0, "(?:((?:(?:(?:\\w*?)+)??|(?>\\w)?|\\w*+)*)+)+?\\s", "aa+ " },
570          { MUA, 0, "((a?)+)+b", "aaaaaaaaaaaaa b" },          { MUA, 0, "((a?)+)+b", "aaaaaaaaaaaaa b" },
571    
572          /* Deep recursion: Stack limit reached. */          /* Deep recursion: Stack limit reached. */
573          { MA, 0, "a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaaaaa", "aaaaaaaaaaaaaaaaaaaaaaa" },          { MA, 0, "a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaaaaa", "aaaaaaaaaaaaaaaaaaaaaaa" },
574          { MA, 0, "(?:a+)+b", "aaaaaaaaaaaaaaaaaaaaaaaa b" },          { MA, 0, "(?:a+)+b", "aaaaaaaaaaaaaaaaaaaaaaaa b" },
# Line 672  static int regression_tests(void) Line 672  static int regression_tests(void)
672          } else {          } else {
673                  printf("\nSuccessful test ratio: %d%%\n", succesful * 100 / total);                  printf("\nSuccessful test ratio: %d%%\n", succesful * 100 / total);
674                  return 1;                  return 1;
675          }          }
676  }  }
677    
678  /* End of pcre_jit_test.c */  /* End of pcre_jit_test.c */

Legend:
Removed from v.677  
changed lines
  Added in v.691

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12