Lines Matching defs:regex
132 ap_regex_t *regex;
463 new->regex = ap_pregcomp(cmd->pool, value, AP_REG_EXTENDED);
464 if (new->regex == NULL) {
465 return "Header edit regex could not be compiled";
486 ap_regex_t *regex;
499 regex = ap_pregcomp(cmd->pool, hdr, AP_REG_EXTENDED | AP_REG_NOSUB);
500 if (regex == NULL) {
501 return "Header echo regex could not be compiled";
504 new->regex = regex;
613 if (ap_regexec(hdr->regex, value, AP_MAX_REG_MATCH, pmatch, 0)) {
642 /* If the input header (key) matches the regex, echo it intact to
645 if (!ap_regexec(v->hdr->regex, key, 0, NULL, 0)) {