Skip to content

Commit f714c34

Browse files
committed
Fix document grammar
1 parent a6578f3 commit f714c34

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/markdown/fnmatch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ matches at least one inclusion pattern and matches **none** of the exclusion pat
243243

244244
When using [`EXTMATCH`](#extmatch) patterns, patterns will be returned with capturing groups around the groups:
245245

246-
While in regex patterns like `#!py r'(a)+'` would capture only the last character, even though multiple where matched,
246+
While in regex, patterns like `#!py r'(a)+'` would capture only the last character, even though multiple where matched,
247247
we wrap the entire group to be captured: `#!py '+(a)'` --> `#!py r'((a)+)'`.
248248

249249
```pycon3

docs/src/markdown/glob.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ matches at least one inclusion pattern and matches **none** of the exclusion pat
590590

591591
When using [`EXTGLOB`](#extglob) patterns, patterns will be returned with capturing groups around the groups:
592592

593-
While in regex patterns like `#!py r'(a)+'` would capture only the last character, even though multiple where matched,
593+
While in regex, patterns like `#!py r'(a)+'` would capture only the last character, even though multiple where matched,
594594
we wrap the entire group to be captured: `#!py '+(a)'` --> `#!py r'((a)+)'`.
595595

596596
```pycon3

0 commit comments

Comments
 (0)