Lines Matching refs:regex
132 ap_regex_t *regex;
477 new->regex = ap_pregcomp(cmd->pool, value, AP_REG_EXTENDED);
478 if (new->regex == NULL) {
479 return "Header edit regex could not be compiled";
500 ap_regex_t *regex;
513 regex = ap_pregcomp(cmd->pool, hdr, AP_REG_EXTENDED | AP_REG_NOSUB);
514 if (regex == NULL) {
515 return "Header echo regex could not be compiled";
518 new->regex = regex;
642 if (ap_regexec(hdr->regex, value, AP_MAX_REG_MATCH, pmatch, 0)) {
671 /* If the input header (key) matches the regex, echo it intact to
674 if (!ap_regexec(v->hdr->regex, key, 0, NULL, 0)) {