Opened 5 years ago
Last modified 5 years ago
#31311 closed Cleanup/optimization
Unneeded escape sequences in character classes — at Initial Version
Reported by: | Kimball Leavitt | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | 3.0 |
Severity: | Normal | Keywords: | validators, regex |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
There are at least three places in the regex in django/core/validators.py that have unnecessary escape sequences inside of character classes:
Note:
See TracTickets
for help on using tickets.