

def __call__(self, value):
    '\n        Validates that the input matches the regular expression.\n        '
    if (not self.regex.search(force_text(value))):
        raise ValidationError(self.message, code=self.code)

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/core/validators.py RegexValidator.__call__/original