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-islington miss-islington merged commit 24908f1 into python:3.10 Oct 5, 2022
@miss-islington miss-islington deleted the backport-0ceafa7-3.10 branch October 5, 2022 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
4 participants