forked from rDrama/rDrama
tlds should be lowercase always - fixes issue with ppl forgetting space after dot while typing posts or comments
parent
4f0f790038
commit
136a12f126
|
@ -131,7 +131,7 @@ def build_url_re(tlds, protocols):
|
||||||
""".format(
|
""".format(
|
||||||
"|".join(sorted(protocols)), "|".join(sorted(tlds))
|
"|".join(sorted(protocols)), "|".join(sorted(tlds))
|
||||||
),
|
),
|
||||||
re.IGNORECASE | re.VERBOSE | re.UNICODE,
|
re.VERBOSE | re.UNICODE,
|
||||||
)
|
)
|
||||||
|
|
||||||
url_re = build_url_re(tlds=TLDS, protocols=['http', 'https'])
|
url_re = build_url_re(tlds=TLDS, protocols=['http', 'https'])
|
||||||
|
|
Loading…
Reference in New Issue