Searched refs:must_match (Results 1 – 3 of 3) sorted by relevance
15 from .common import must_match25 match = must_match(r'([A-Za-z_.-][A-Za-z0-9_.-]*)?', prefix)
32 from .common import must_match353 match = must_match('[^[\\]{}:,\\s\']+',448 indent = must_match(r'\s*', line).end()460 cur_indent = must_match(r'\s*', line).end()
254 def must_match(pattern: str, string: str) -> Match[str]: function