define the method __init__ with 7 arguments: self, regex, max_length set to None, min_length set to None, error_message set to None,
def __init__ ( self , regex , max_length = None , min_length = None , error_message = None , * args , ** kwargs ) :