Skip to content

Conversation

@miss-islington
Copy link
Contributor

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

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>
@miss-islingtonmiss-islington merged commit 24908f1 into python:3.10Oct 5, 2022
@miss-islingtonmiss-islington deleted the backport-0ceafa7-3.10 branch October 5, 2022 01:37
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip issueskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@miss-islington@JelleZijlstra@bedevere-bot@athos-ribeiro