Add re.VERBOSE flag documentation example (GH-97678) · python/cpython@12bd7e9 · GitHub
Skip to content

Commit 12bd7e9

Browse files
miss-islingtonathos-ribeiro
authored andcommitted
Add re.VERBOSE flag documentation example (GH-97678)
The current re.VERBOSE documentation example leaves space for ambiguous interpretation. One may read that spaces within the `(?:` token are spaces inside the non-capturing group (such as `(?: )`). This patch removes the ambiguity by including examples after the statement. (cherry picked from commit 0ceafa7) Co-authored-by: Athos Ribeiro <athoscribeiro@gmail.com>
1 parent 5f43097 commit 12bd7e9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/library/re.rst

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)