From bc97054b9f27985523823e1643b7a0d5febc8ee1 Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Sat, 2 Apr 2022 20:57:41 +0000 Subject: Deploying to docs from @ python-discord/bot-core@b31c793634113fc2e6213eb8597cef8423954a88 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- output/botcore.utils.regex.html | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'output/botcore.utils.regex.html') diff --git a/output/botcore.utils.regex.html b/output/botcore.utils.regex.html index 0961edd5..89141793 100644 --- a/output/botcore.utils.regex.html +++ b/output/botcore.utils.regex.html @@ -5,10 +5,10 @@ - + regex - Bot Core v5.0.0 - + @@ -23,16 +23,18 @@ --color-api-name: var(--color-link); } - body[data-theme="dark"] { - --color-code-background: #202020; + @media not print { + body[data-theme="dark"] { + --color-code-background: #202020; --color-code-foreground: #d0d0d0; - } - @media (prefers-color-scheme: dark) { - body:not([data-theme="light"]) { - --color-code-background: #202020; + } + @media (prefers-color-scheme: dark) { + body:not([data-theme="light"]) { + --color-code-background: #202020; --color-code-foreground: #d0d0d0; + } } } @@ -214,21 +216,21 @@

Common regular expressions.

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

Regex for Discord server invites.

-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