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 AppScale/appscale/AppServer/lib/django-1.5/django/core/validators.py/RegexValidator.__call__