mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user