Merge branch 'frost' of github.com:Aevann1/rDrama into frost

remotes/1693176582716663532/tmp_refs/heads/watchparty
Outrun Colors 2022-09-24 17:09:59 -05:00
commit 4bcebf1e24
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ def build_url_re(protocols):
return re.compile(
r"""\(*# Match any opening parentheses.
\b(?<![@.])(?:(?:{0}):/{{0,3}}(?:(?:\w+:)?\w+@)?)?# http://
([\w-]+\.)+(?:\w{{2,20}})(?:\:[0-9]+)?(?!\.\w)\b# xx.yy.tld(:##)?
([\w-]+\.)+(?:[A-Za-z]{{2,20}})(?:\:[0-9]+)?(?!\.\w)\b# xx.yy.tld(:##)?
(?:[/?][^#\s\{{\}}\|\\\^\[\]`<>"]*)?
# /path/zz (excluding "unsafe" chars from RFC 1738,
# except for ~, which happens in practice)