1
0
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:
Mariusz Felisiak
2023-08-02 19:53:16 +02:00
committed by GitHub
parent 7cd187a5ba
commit 9b9c805ced
11 changed files with 30 additions and 30 deletions

View File

@@ -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",