diff options
Diffstat (limited to 'botcore/utils/regex.py')
-rw-r--r-- | botcore/utils/regex.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/botcore/utils/regex.py b/botcore/utils/regex.py index 5146a113..8eb38ba2 100644 --- a/botcore/utils/regex.py +++ b/botcore/utils/regex.py @@ -18,9 +18,9 @@ DISCORD_INVITE = re.compile( Regex for Discord server invites. :meta hide-value: -.. warning:: - This regex pattern will capture until a whitespace, if you are to use the 'invite' capture group in - any HTTP requests or similar. Please ensure you sanitise the output using something similar to +.. warning:: + This regex pattern will capture until a whitespace, if you are to use the 'invite' capture group in + any HTTP requests or similar. Please ensure you sanitise the output using something similar to https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote. """ |