Displaying 1 result from an estimated 1 matches for "use_real_regexp".
2002 Nov 11
0
Regular Expression support
...lude(const char *pattern, int include, int regexp)
{
struct exclude_struct *ret;
@@ -45,16 +45,25 @@
} else if (strncmp(pattern,"+ ",2) == 0) {
ret->include = 1;
pattern += 2;
+ } else if (strncmp(pattern,"-R ",3) == 0) {
+ pattern += 3;
+ ret->use_real_regexp = 1;
+ } else if (strncmp(pattern,"+R ",3) == 0) {
+ ret->include = 1;
+ ret->use_real_regexp = 1;
+ pattern += 3;
} else {
ret->include = include;
+ ret->use_real_regexp = regexp;
}
ret->pattern = strdup(pattern);
if (!ret->...