-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.11] Add re.VERBOSE flag documentation example (GH-97678) #97882
[3.11] Add re.VERBOSE flag documentation example (GH-97678) #97882
Conversation
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 <[email protected]>
Sorry, I can't merge this PR. Reason: |
1 similar comment
Sorry, I can't merge this PR. Reason: |
Sorry, I can't merge this PR. Reason: |
1 similar comment
Sorry, I can't merge this PR. Reason: |
Sorry, I can't merge this PR. Reason: |
3 similar comments
Sorry, I can't merge this PR. Reason: |
Sorry, I can't merge this PR. Reason: |
Sorry, I can't merge this PR. Reason: |
The current re.VERBOSE documentation example leaves space for ambiguous
interpretation. One may read that spaces within the
(?:
token arespaces inside the non-capturing group (such as
(?: )
). This patchremoves the ambiguity by including examples after the statement.
(cherry picked from commit 0ceafa7)
Co-authored-by: Athos Ribeiro [email protected]