#31311: Unneeded escape sequences in character classes
--------------------------------------+------------------------------------
Reporter: Kimball Leavitt | Owner: nobody
Type: Cleanup/optimization | Status: closed
Component: Core (Other) | Version: 3.0
Severity: Normal | Resolution: fixed
Keywords: validators, regex | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"7c6b66383da5f9a67142334cd2ed2d769739e8f1" 7c6b663]:
{{{
#!CommitTicketReference repository=""
revision="7c6b66383da5f9a67142334cd2ed2d769739e8f1"
Fixed #31311 -- Removed unneeded escapes in validator regexes.
Special characters lose their special meaning inside sets of characters.
"-" lose its special meaning if it's placed as the first or last
character.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31311#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.fdf0fc1173acd1d01ead40830a7a4772%40djangoproject.com.