[3.11] Add re.VERBOSE flag documentation example (GH-97678)#97882
[3.11] Add re.VERBOSE flag documentation example (GH-97678)#97882miss-islington merged 1 commit into
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 <athoscribeiro@gmail.com>
|
Sorry, I can't merge this PR. Reason: |
Sorry, something went wrong.
1 similar comment
|
Sorry, I can't merge this PR. Reason: |
Sorry, something went wrong.
|
Sorry, I can't merge this PR. Reason: |
Sorry, something went wrong.
1 similar comment
|
Sorry, I can't merge this PR. Reason: |
Sorry, something went wrong.
|
Sorry, I can't merge this PR. Reason: |
Sorry, something went wrong.
3 similar comments
|
Sorry, I can't merge this PR. Reason: |
Sorry, something went wrong.
|
Sorry, I can't merge this PR. Reason: |
Sorry, something went wrong.
|
Sorry, I can't merge this PR. Reason: |
Sorry, something went wrong.
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 athoscribeiro@gmail.com