From 360ef04dba45950c013e4aee9ab63d0dc5386000 Mon Sep 17 00:00:00 2001 From: ionite34 Date: Tue, 16 Aug 2022 18:31:38 -0400 Subject: Removed a redundant regex character class --- botcore/utils/regex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botcore/utils/regex.py b/botcore/utils/regex.py index e074a342..76311ca7 100644 --- a/botcore/utils/regex.py +++ b/botcore/utils/regex.py @@ -11,7 +11,7 @@ DISCORD_INVITE = re.compile( r"discord([.,]|dot)li|" # or discord.li r"discord([.,]|dot)io|" # or discord.io. r"((?\S+)", # the invite code itself flags=re.IGNORECASE ) -- cgit v1.2.3