def names_approx_match(a: str, b: str) -> bool:
    a = a.strip('_')
    b = b.strip('_')
    return (a.startswith(b) or b.startswith(a) or (len(a) == 1) or (len(b) == 1))
def names_approx_match(a: str, b: str) -> bool:
    a = a.strip('_')
    b = b.strip('_')
    return (a.startswith(b) or b.startswith(a) or (len(a) == 1) or (len(b) == 1))