[Python-checkins] cpython (2.7): fix typo (closes #26378)
benjamin.peterson
python-checkins at python.org
Thu Feb 18 02:43:19 EST 2016
https://hg.python.org/cpython/rev/c272a1e53f5b
changeset: 100254:c272a1e53f5b
branch: 2.7
parent: 100250:3cddcf471c70
user: Benjamin Peterson <benjamin at python.org>
date: Wed Feb 17 23:42:46 2016 -0800
summary:
fix typo (closes #26378)
files:
Doc/howto/regex.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst
--- a/Doc/howto/regex.rst
+++ b/Doc/howto/regex.rst
@@ -172,7 +172,7 @@
Repetitions such as ``*`` are :dfn:`greedy`; when repeating a RE, the matching
engine will try to repeat it as many times as possible. If later portions of the
pattern don't match, the matching engine will then back up and try again with
-few repetitions.
+fewer repetitions.
A step-by-step example will make this more obvious. Let's consider the
expression ``a[bcd]*b``. This matches the letter ``'a'``, zero or more letters
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list