diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-04-08 16:18:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-08 16:18:04 (GMT) |
commit | 46936d5a71d1683dbd8ddb6d7f39aab50ecfec50 (patch) | |
tree | 1f51e69c1fbb9401516478b8866d01f1513644cb /Doc/howto/regex.rst | |
parent | 9265dd72e5ec1cfa5fcdb5be8ebffe1d9994bd4b (diff) | |
download | cpython-46936d5a71d1683dbd8ddb6d7f39aab50ecfec50.zip cpython-46936d5a71d1683dbd8ddb6d7f39aab50ecfec50.tar.gz cpython-46936d5a71d1683dbd8ddb6d7f39aab50ecfec50.tar.bz2 |
Improve highlighting of some code blocks. (GH-6401)
Diffstat (limited to 'Doc/howto/regex.rst')
-rw-r--r-- | Doc/howto/regex.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst index bdf687e..b09f748 100644 --- a/Doc/howto/regex.rst +++ b/Doc/howto/regex.rst @@ -786,7 +786,9 @@ Frequently you need to obtain more information than just whether the RE matched or not. Regular expressions are often used to dissect strings by writing a RE divided into several subgroups which match different components of interest. For example, an RFC-822 header line is divided into a header name and a value, -separated by a ``':'``, like this:: +separated by a ``':'``, like this: + +.. code-block:: none From: author@example.com User-Agent: Thunderbird 1.5.0.9 (X11/20061227) |