Searched refs:match_regex (Results 1 – 2 of 2) sorted by relevance
93 def find_parse_subtree(parse_tree: ParseTree, match_regex: str) -> ParseTree:94 if re.match(match_regex, parse_tree.label):98 res = find_parse_subtree(node, match_regex)104 def find_parse_children(parse_tree: ParseTree, match_regex: str) -> Iterable[ParseTree]:106 if re.match(match_regex, node.label):
336 static bool match_regex(key_map *assert, const key_map *check) { in match_regex() function728 if (match_regex(nrule, rule)) { in rule_map_validate()