Home | History | Annotate | Download | only in tools

Lines Matching defs:regex

106 	key_map_regex regex;
326 int ret = pcre2_match(assert->regex.compiled, (PCRE2_SPTR) tomatch,
328 assert->regex.match_data, NULL);
340 * Explicitly anchor all regex's
348 km->regex.compiled = pcre2_compile((PCRE2_SPTR) anchored,
353 if (!km->regex.compiled) {
357 km->regex.match_data = pcre2_match_data_create_from_pattern(
358 km->regex.compiled, NULL);
359 if (!km->regex.match_data) {
360 pcre2_code_free(km->regex.compiled);
466 if (!m->regex.compiled) {
472 log_error("Invalid regex on line %d : %s PCRE error: %s at offset %lu",
603 if (m->regex.compiled) {
604 pcre2_code_free(m->regex.compiled);
607 if (m->regex.match_data) {
608 pcre2_match_data_free(m->regex.match_data);