def like(pattern, value):
    """ helper for ignoring extra spaces between arguments """
    # Escape special characters like : and *
    pattern = re.escape(pattern)
    # Split on : so we don't replace spaces in messages
    index = pattern.rfind(':')
    if 0 >= index:
        pattern = SPACES.sub(r'\s+', pattern[:index]) + pattern[index:]
    else:
        pattern = SPACES.sub(r'\s+', pattern)
    # Ignore trailing spaces/newlines
    pattern += r"\s*?"
    return bool(re.match(pattern, value))
dataset/ETHPy150Open numberoverzero/bottom/tests/unit/test_pack.py/like/swapped operands of `>=`