Avoid unnecessary memory allocation/deallocations and pcre calls

This commit is contained in:
Dmitry Stogov 2014-06-09 15:42:32 +04:00
parent 7bf4fa69be
commit dbaef7c038
2 changed files with 201 additions and 113 deletions

View file

@ -44,6 +44,8 @@ typedef struct {
pcre *re;
pcre_extra *extra;
int preg_options;
int capture_count;
int name_count;
#if HAVE_SETLOCALE
char *locale;
unsigned const char *tables;