Lines Matching refs:regex
108 key_map_regex regex; member
340 int ret = pcre2_match(assert->regex.compiled, (PCRE2_SPTR) tomatch, in match_regex()
342 assert->regex.match_data, NULL); in match_regex()
362 km->regex.compiled = pcre2_compile((PCRE2_SPTR) anchored, in compile_regex()
367 if (!km->regex.compiled) { in compile_regex()
371 km->regex.match_data = pcre2_match_data_create_from_pattern( in compile_regex()
372 km->regex.compiled, NULL); in compile_regex()
373 if (!km->regex.match_data) { in compile_regex()
374 pcre2_code_free(km->regex.compiled); in compile_regex()
516 if (!m->regex.compiled) { in key_map_validate()
653 if (m->regex.compiled) { in rule_map_free()
654 pcre2_code_free(m->regex.compiled); in rule_map_free()
657 if (m->regex.match_data) { in rule_map_free()
658 pcre2_match_data_free(m->regex.match_data); in rule_map_free()