From bf55b5820b78d57b72249d8f288c7a9fd28d53b0 Mon Sep 17 00:00:00 2001 From: HassanAbouelela Date: Tue, 10 May 2022 19:23:22 +0000 Subject: Deploying to docs from @ python-discord/bot-core@7eef69c7be762f0b2becf4e623c11b1507756966 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- output/botcore.utils.regex.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'output/botcore.utils.regex.html') diff --git a/output/botcore.utils.regex.html b/output/botcore.utils.regex.html index 934499af..e682154f 100644 --- a/output/botcore.utils.regex.html +++ b/output/botcore.utils.regex.html @@ -218,21 +218,27 @@

Common regular expressions.

-DISCORD_INVITE[source]#
+DISCORD_INVITE[source]#

Regex for Discord server invites.

+
+

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 +such as urllib.parse.quote().

+
-FORMATTED_CODE_REGEX[source]#
+FORMATTED_CODE_REGEX[source]#

Regex for formatted code, using Discord’s code blocks.

-RAW_CODE_REGEX[source]#
+RAW_CODE_REGEX[source]#

Regex for raw code, not using Discord’s code blocks.

-- cgit v1.2.3