summaryrefslogtreecommitdiffstats
path: root/nss_expr_parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'nss_expr_parse.y')
-rw-r--r--nss_expr_parse.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/nss_expr_parse.y b/nss_expr_parse.y
index 9ee1a1a..0eb640f 100644
--- a/nss_expr_parse.y
+++ b/nss_expr_parse.y
@@ -100,18 +100,18 @@ word : T_DIGIT { $$ = nss_expr_make(op_Digit, $1, NUL
;
regex : T_REGEX {
- regex_t *regex;
+ ap_regex_t *regex;
if ((regex = ap_pregcomp(nss_expr_info.pool, $1,
- REG_EXTENDED|REG_NOSUB)) == NULL) {
+ AP_REG_EXTENDED|AP_REG_NOSUB)) == NULL) {
nss_expr_error = "Failed to compile regular expression";
YYERROR;
}
$$ = nss_expr_make(op_Regex, regex, NULL);
}
| T_REGEX_I {
- regex_t *regex;
+ ap_regex_t *regex;
if ((regex = ap_pregcomp(nss_expr_info.pool, $1,
- REG_EXTENDED|REG_NOSUB|REG_ICASE)) == NULL) {
+ AP_REG_EXTENDED|AP_REG_NOSUB|AP_REG_ICASE)) == NULL) {
nss_expr_error = "Failed to compile regular expression";
YYERROR;
}