Skip to content

Commit

Permalink
better link regex
Browse files Browse the repository at this point in the history
  • Loading branch information
mralext20 committed Sep 12, 2023
1 parent 683ebcf commit 04c6236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alexBot/cogs/voiceTTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# regex to capture custom emojis (<a?:name:id>)
EMOJIREGEX = re.compile(r"<a?:([a-zA-Z0-9_]+):(\d+)>")

LINKREGEX = re.compile(r"https?://(.+\.[a-z]+)/?[a-zA-Z/#\?]*")
LINKREGEX = re.compile(r"https?://(.+\.[a-z]+)/?[a-zA-Z0-9/\-#\?]*")


@dataclasses.dataclass
Expand Down

0 comments on commit 04c6236

Please sign in to comment.