[Python-checkins] cpython (merge 3.5 -> default): merge 3.5 (#26378)
benjamin.peterson
python-checkins at python.org
Thu Feb 18 02:43:37 EST 2016
https://hg.python.org/cpython/rev/6f0d3ae9f1f3
changeset: 100256:6f0d3ae9f1f3
parent: 100253:d6474257ef38
parent: 100255:69717fdd9d5a
user: Benjamin Peterson <benjamin at python.org>
date: Wed Feb 17 23:43:08 2016 -0800
summary:
merge 3.5 (#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
@@ -178,7 +178,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