Commit a2f1be0b authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by Serhiy Storchaka

bpo-15606: Improve the re.VERBOSE documentation. (GH-4366) (#4395)

(cherry picked from commit b0b44b4b)
parent e84f6d38
......@@ -532,7 +532,8 @@ form.
This flag allows you to write regular expressions that look nicer and are
more readable by allowing you to visually separate logical sections of the
pattern and add comments. Whitespace within the pattern is ignored, except
when in a character class or when preceded by an unescaped backslash.
when in a character class, or when preceded by an unescaped backslash,
or within tokens like ``*?``, ``(?:`` or ``(?P<...>``.
When a line contains a ``#`` that is not in a character class and is not
preceded by an unescaped backslash, all characters from the leftmost such
``#`` through the end of the line are ignored.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment