Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 77980a7

Browse files
committed
Correct typo in module doc string doscovered by Jonathan Giddy.
1 parent 2530d4e commit 77980a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/re.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"$" Matches the end of the string.
2121
"*" Matches 0 or more (greedy) repetitions of the preceding RE.
2222
Greedy means that it will match as many repetitions as possible.
23-
"+" Matches 0 or more (greedy) repetitions of the preceding RE.
23+
"+" Matches 1 or more (greedy) repetitions of the preceding RE.
2424
"?" Matches 0 or 1 (greedy) of the preceding RE.
2525
*?,+?,?? Non-greedy versions of the previous three special characters.
2626
{m,n} Matches from m to n repetitions of the preceding RE.

0 commit comments

Comments
 (0)