summaryrefslogtreecommitdiffstats
path: root/Lib/re.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-11-15 14:19:15 (GMT)
committerGuido van Rossum <guido@python.org>1999-11-15 14:19:15 (GMT)
commit77980a731cc5a279e768e55ff9f0ca2ca7647d02 (patch)
tree0cf1a67af7d281b1c9befef5ffcbcc4706d76679 /Lib/re.py
parent2530d4e32b4243d3c3794f2da8ccaf5cd5277bdd (diff)
downloadcpython-77980a731cc5a279e768e55ff9f0ca2ca7647d02.zip
cpython-77980a731cc5a279e768e55ff9f0ca2ca7647d02.tar.gz
cpython-77980a731cc5a279e768e55ff9f0ca2ca7647d02.tar.bz2
Correct typo in module doc string doscovered by Jonathan Giddy.
Diffstat (limited to 'Lib/re.py')
-rw-r--r--Lib/re.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/re.py b/Lib/re.py
index 8f6bc5f..602980a 100644
--- a/Lib/re.py
+++ b/Lib/re.py
@@ -20,7 +20,7 @@ The special characters are:
"$" 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.