Lines Matching refs:pattern
274 /* special pattern types for RewriteCond */
299 char *pattern; /* the RegExp pattern string */
303 pattern_type ptype; /* pattern type */
304 int pskip; /* back-index to display pattern */
315 char *pattern; /* the RegExp pattern string */
316 ap_regex_t *regexp; /* the RegExp pattern compilation */
3328 /* arg2: the pattern */
3329 newcond->pattern = a2;
3335 /* determine the pattern type */
3424 "RewriteCond: NoCase option for non-regex pattern '%s' "
3430 newcond->pskip = a2 - newcond->pattern;
3431 newcond->pattern += newcond->pskip;
3731 "(pattern='%s', substitution='%s', flags='%s')",
3751 /* arg1: the pattern
3768 newrule->pattern = a1;
3914 rc = (strcasecmp(input, p->pattern) >= basis) ? 1 : 0;
3917 rc = (compare_lexicography(input, p->pattern) >= basis) ? 1 : 0;
3928 rc = (strcasecmp(input, p->pattern) <= basis) ? 1 : 0;
3931 rc = (compare_lexicography(input, p->pattern) <= basis) ? 1 : 0;
3936 /* Note: the only type where the operator is dropped from p->pattern */
3938 rc = !strcasecmp(input, p->pattern);
3941 rc = !strcmp(input, p->pattern);
3945 case CONDPAT_INT_GE: rc = (atoi(input) >= atoi(p->pattern)); break;
3946 case CONDPAT_INT_GT: rc = (atoi(input) > atoi(p->pattern)); break;
3948 case CONDPAT_INT_LE: rc = (atoi(input) <= atoi(p->pattern)); break;
3949 case CONDPAT_INT_LT: rc = (atoi(input) < atoi(p->pattern)); break;
3951 case CONDPAT_INT_EQ: rc = (atoi(input) == atoi(p->pattern)); break;
3961 p->pattern - p->pskip, err));
3972 /* it is really a regexp pattern, so apply it */
3987 rewritelog((r, 4, ctx->perdir, "RewriteCond: input='%s' pattern='%s'%s "
3988 "=> %s", input, p->pattern - p->pskip,
4075 /* Try to match the URI against the RewriteRule pattern
4078 rewritelog((r, 3, ctx->perdir, "applying pattern '%s' to uri '%s'",
4079 p->pattern, ctx->uri));
4101 /* Ok, we already know the pattern has matched, but we now
4380 p->pattern, r->uri, p->maxrounds);
5216 "an input string and a to be applied regexp-pattern"),
5218 "an URL-applied regexp-pattern and a substitution URL"),