Displaying 1 result from an estimated 1 matches for "modifiedpattern".
2002 Nov 11
0
Regular Expression support
...+ #define reg_errbuf_size 256
+ char errbuf[reg_errbuf_size];
+ int status;
+ char *fullName=NULL;
+ if(!ex->regexp){ // Compile the regular expression only once, this speeds up performance considerably
+ int options = 0;
+ char *modifiedPattern=NULL,
+ *optionsString=NULL;
+ rprintf(FINFO, "Compiling regular expression '%s'\n", pattern);
+ ex->regexp=malloc(sizeof(regex_t));
+ if(!ex->regexp) out_of_memory("check_one_exclude");
+ memset(ex->re...