diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-08-02 19:53:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-02 19:53:16 +0200 |
| commit | 9b9c805cedb08621bd5dc58a01a6478eb7cc49a9 (patch) | |
| tree | d819686fbe32fecf4b7c73030f4b7b2f24990adc /docs | |
| parent | 7cd187a5ba58d7769039f487faeb9a5a2ff05540 (diff) | |
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 7c6b66383da5f9a67142334cd2ed2d769739e8f1.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/conf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py index 2b37639eab..31478ae79d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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", |
