Issue #26462: Doc: avoid literal_block warnings, fix syntax highlighting.

Patch by Julien Palard.
diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst
index 2c95fb4..0d0e9f5 100644
--- a/Doc/howto/regex.rst
+++ b/Doc/howto/regex.rst
@@ -79,7 +79,9 @@
 devoted to discussing various metacharacters and what they do.
 
 Here's a complete list of the metacharacters; their meanings will be discussed
-in the rest of this HOWTO. ::
+in the rest of this HOWTO.
+
+.. code-block:: none
 
    . ^ $ * + ? { } [ ] \ | ( )