diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-02-18 07:42:46 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-02-18 07:42:46 (GMT) |
commit | 51b13e53fcd0dfc0fbaa2be9cab7814e5f98233e (patch) | |
tree | 4bbff3fa19a276c53780c1109a89dda44204d566 /Doc | |
parent | b2e3946d76e4a7a383187d2643ef51649ea4a243 (diff) | |
download | cpython-51b13e53fcd0dfc0fbaa2be9cab7814e5f98233e.zip cpython-51b13e53fcd0dfc0fbaa2be9cab7814e5f98233e.tar.gz cpython-51b13e53fcd0dfc0fbaa2be9cab7814e5f98233e.tar.bz2 |
fix typo (closes #26378)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/howto/regex.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst index cc45e6e..9fe2128 100644 --- a/Doc/howto/regex.rst +++ b/Doc/howto/regex.rst @@ -172,7 +172,7 @@ that limit. 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 |