Lines Matching refs:regex
52 %token <cpVal> T_REGEX "regex"
53 %token <cpVal> T_REGEX_I "case-indendent regex"
54 %token <num> T_REGEX_BACKREF "regex back reference"
69 %token T_OP_REG "regex match"
70 %token T_OP_NRE "regex non-match"
93 %type <exVal> regex
142 | word T_OP_REG regex { $$ = ap_expr_make(op_REG, $1, $3, ctx); }
143 | word T_OP_NRE regex { $$ = ap_expr_make(op_NRE, $1, $3, ctx); }
177 regex : T_REGEX {
178 ap_regex_t *regex;
179 if ((regex = ap_pregcomp(ctx->pool, $1,
184 $$ = ap_expr_make(op_Regex, regex, NULL, ctx);
187 ap_regex_t *regex;
188 if ((regex = ap_pregcomp(ctx->pool, $1,
193 $$ = ap_expr_make(op_Regex, regex, NULL, ctx);