From 77980a731cc5a279e768e55ff9f0ca2ca7647d02 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 15 Nov 1999 14:19:15 +0000 Subject: [PATCH] Correct typo in module doc string doscovered by Jonathan Giddy. --- Lib/re.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/re.py b/Lib/re.py index 8f6bc5fb652..602980a3ca9 100644 --- a/Lib/re.py +++ b/Lib/re.py @@ -20,7 +20,7 @@ "$" Matches the end of the string. "*" Matches 0 or more (greedy) repetitions of the preceding RE. Greedy means that it will match as many repetitions as possible. - "+" Matches 0 or more (greedy) repetitions of the preceding RE. + "+" Matches 1 or more (greedy) repetitions of the preceding RE. "?" Matches 0 or 1 (greedy) of the preceding RE. *?,+?,?? Non-greedy versions of the previous three special characters. {m,n} Matches from m to n repetitions of the preceding RE.