Fix missing parentheses in Imgur regex

This commit is contained in:
Butter Cat 2023-11-13 20:28:21 -05:00
parent 1a804dc6e2
commit 8670a71c30
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ let
# Images aren't supported due to errors from Teddit when the image
# wasn't first displayed via a post on the Teddit instance.
imgurRegex = re"(i|i.stack)\.)?imgur.com"
imgurRegex = re"((i|i.stack)\.)?imgur.com"
wwwRegex = re"https?://(www[0-9]?\.)?"
m3u8Regex = re"""url="(.+.m3u8)""""