def __call__(self, value):
        if not self.regex.search(force_text(value)):
            raise ValidationError(self.message, code=self.code)
Validates that the input matches the regular expression.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/core/validators.py/RegexValidator.__call__