def check_password(password):
    regex = '^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[*.!@$%^&(){}[]:;<>,.?/~_+-=|\\]).{8,32}$'
    if re.search(regex, password):
        return True
    else:
        return False
def check_password(password):
    regex = '^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[*.!@$%^&(){}[]:;<>,.?/~_+-=|\\]).{8,32}$'
    if re.search(regex, password):
        return True
    else:
        return False