def read_until_closing_bracket(s: str, *, skip_non_content_after=True) -> Tuple[(str, str)]:
    (a, _, b) = read_until_closing(s, '\\{', '\\}')
    if skip_non_content_after:
        b = skip_non_content(b)
    return (a, b)
def read_until_closing_bracket(s: str, *, skip_non_content_after=True) -> Tuple[(str, str)]:
    (a, _, b) = read_until_closing(s, '\\{', '\\}')
    if skip_non_content_after:
        b = skip_non_content(b)
    return (a, b)