Changes between Initial Version and Version 1 of Ticket #27945, comment 3


Ignore:
Timestamp:
Mar 16, 2017, 7:34:10 AM (7 years ago)
Author:
Shubham Jain

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27945, comment 3

    initial v1  
    1 So the [documentation](https://docs.djangoproject.com/en/dev/ref/validators/#django.core.validators.RegexValidator.regex) says, "regex pattern to search for provided value". I suppose this means, you try to see if value fits in the regex. But instead it sees if regex fits anywhere in the value. So in documentation, it must be "regex pattern to search for, in the provided value".
     1So the [https://docs.djangoproject.com/en/dev/ref/validators/#django.core.validators.RegexValidator.regex documentation] says, "regex pattern to search for provided value". I suppose this means, you try to see if value fits in the regex. But instead it sees if regex fits anywhere in the value. So in documentation, it must be "regex pattern to search for, in the provided value".
Back to Top