]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add re.VERBOSE flag documentation example (#97678)
authorAthos Ribeiro <athoscribeiro@gmail.com>
Wed, 5 Oct 2022 00:39:42 +0000 (21:39 -0300)
committerGitHub <noreply@github.com>
Wed, 5 Oct 2022 00:39:42 +0000 (17:39 -0700)
commit0ceafa7fa408b64377ea31dd5386152da19ef38a
tree6f18223942fd81bb82f6cd1826a3d56c42c95020
parent395b66a0ae5237eec195ca97daaaf8563706ed34
Add re.VERBOSE flag documentation example (#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.
Doc/library/re.rst