Lines Matching refs:regex
1122 * lua_ap_regex; r:regex(string, pattern [, flags])
1123 * - Evaluates a regex and returns captures if matched
1134 ap_regex_t regex;
1145 rv = ap_regcomp(®ex, pattern, flags);
1149 ap_regerror(rv, ®ex, err, 256);
1154 if (regex.re_nsub > MODLUA_MAX_REG_MATCH) {
1159 regex.re_nsub, MODLUA_MAX_REG_MATCH);
1164 rv = ap_regexec(®ex, source, MODLUA_MAX_REG_MATCH, matches, 0);
1171 for (i = 0; i <= regex.re_nsub; i++) {
2855 apr_hash_set(dispatch, "regex", APR_HASH_KEY_STRING,