Skip to content

[3.11] Add re.VERBOSE flag documentation example (GH-97678) - #97882

Merged
miss-islington merged 1 commit into
python:3.11from
miss-islington:backport-0ceafa7-3.11
Oct 5, 2022
Merged

miss-islington merged 1 commit into
python:3.11from
miss-islington:backport-0ceafa7-3.11

Conversation

@miss-islington

Copy link
Copy Markdown
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

Copy link
Copy Markdown
Contributor Author

Sorry, I can't merge this PR. Reason: 4 of 9 required status checks are expected..

1 similar comment
@miss-islington

Copy link
Copy Markdown
Contributor Author

Sorry, I can't merge this PR. Reason: 4 of 9 required status checks are expected..

@miss-islington

Copy link
Copy Markdown
Contributor Author

Sorry, I can't merge this PR. Reason: 2 of 9 required status checks are expected..

1 similar comment
@miss-islington

Copy link
Copy Markdown
Contributor Author

Sorry, I can't merge this PR. Reason: 2 of 9 required status checks are expected..

@miss-islington
miss-islington merged commit 0151375 into python:3.11 Oct 5, 2022
@miss-islington

Copy link
Copy Markdown
Contributor Author

Sorry, I can't merge this PR. Reason: Pull Request is not mergeable.

3 similar comments
@miss-islington

Copy link
Copy Markdown
Contributor Author

Sorry, I can't merge this PR. Reason: Pull Request is not mergeable.

@miss-islington

Copy link
Copy Markdown
Contributor Author

Sorry, I can't merge this PR. Reason: Pull Request is not mergeable.

@miss-islington

Copy link
Copy Markdown
Contributor Author

Sorry, I can't merge this PR. Reason: Pull Request is not mergeable.

@miss-islington
miss-islington deleted the backport-0ceafa7-3.11 branch October 5, 2022 01:29
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