Lines Matching refs:regex
106 key_map_regex regex; member
326 int ret = pcre2_match(assert->regex.compiled, (PCRE2_SPTR) tomatch, in match_regex()
328 assert->regex.match_data, NULL); in match_regex()
348 km->regex.compiled = pcre2_compile((PCRE2_SPTR) anchored, in compile_regex()
353 if (!km->regex.compiled) { in compile_regex()
357 km->regex.match_data = pcre2_match_data_create_from_pattern( in compile_regex()
358 km->regex.compiled, NULL); in compile_regex()
359 if (!km->regex.match_data) { in compile_regex()
360 pcre2_code_free(km->regex.compiled); in compile_regex()
466 if (!m->regex.compiled) { in key_map_validate()
603 if (m->regex.compiled) { in rule_map_free()
604 pcre2_code_free(m->regex.compiled); in rule_map_free()
607 if (m->regex.match_data) { in rule_map_free()
608 pcre2_match_data_free(m->regex.match_data); in rule_map_free()