Home
last modified time | relevance | path

Searched refs:must_match (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/scripts/qapi/
H A Dmain.py15 from .common import must_match
25 match = must_match(r'([A-Za-z_.-][A-Za-z0-9_.-]*)?', prefix)
H A Dparser.py32 from .common import must_match
353 match = must_match('[^[\\]{}:,\\s\']+',
448 indent = must_match(r'\s*', line).end()
460 cur_indent = must_match(r'\s*', line).end()
H A Dcommon.py254 def must_match(pattern: str, string: str) -> Match[str]: function