Skip to content

Commit 44581e6

Browse files
fisher60ChrisLovering
authored andcommitted
fix comment styling in comments
These got borked by me and also previously, cleaning it up. Brain enjoy uniform format.
1 parent 4c4a2bc commit 44581e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydis_core/utils/regex.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import re
44

55
DISCORD_INVITE = re.compile(
6-
r"(https?:\/\/)?(discord:\/*)?" # Optional protocols
6+
r"(https?:\/\/)?(discord:\/*)?" # Optional protocols
77
r"(www\.)?" # Optional www
88
r"[@#]*" # Optional @ or # symbols
99
r"(\B|discord(app)?)" # Optional discord(app)
@@ -12,7 +12,7 @@
1212
r"(gg|me)" # TLDs that embed within discord
1313
r"|com(\/|slash|\\)invite" # Only match com/invite
1414
r")"
15-
r"(/|slash|\\+)" # / or 'slash' or 1+ of \
15+
r"(/|slash|\\+)" # / or 'slash' or 1+ of \
1616
r"(?P<invite>\S+)", # the invite code itself
1717
flags=re.IGNORECASE
1818
)

0 commit comments

Comments
 (0)