def consume_empty_lines(s: str) -> str:
    while (match := _PATTERN_EMPTY_LINES.match(s)):
        s = s[match.end():]
        if (not s):
            break
    return s
def consume_empty_lines(s: str) -> str:
    while (match := _PATTERN_EMPTY_LINES.match(s)):
        s = s[match.end():]
        if (not s):
            break
    return s