mirror of
https://github.com/django/django.git
synced 2025-11-24 21:00:12 +00:00
Removed unneeded escapes in 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.
Follow up to 7c6b66383d.
This commit is contained in:
parent
7cd187a5ba
commit
9b9c805ced
11 changed files with 30 additions and 30 deletions
|
|
@ -54,8 +54,8 @@ autosectionlabel_maxdepth = 2
|
|||
linkcheck_ignore = [
|
||||
# Special-use addresses and domain names. (RFC 6761/6890)
|
||||
r"^https?://(?:127\.0\.0\.1|\[::1\])(?::\d+)?/",
|
||||
r"^https?://(?:[^/\.]+\.)*example\.(?:com|net|org)(?::\d+)?/",
|
||||
r"^https?://(?:[^/\.]+\.)*(?:example|invalid|localhost|test)(?::\d+)?/",
|
||||
r"^https?://(?:[^/.]+\.)*example\.(?:com|net|org)(?::\d+)?/",
|
||||
r"^https?://(?:[^/.]+\.)*(?:example|invalid|localhost|test)(?::\d+)?/",
|
||||
# Pages that are inaccessible because they require authentication.
|
||||
r"^https://github\.com/[^/]+/[^/]+/fork",
|
||||
r"^https://code\.djangoproject\.com/github/login",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue