This commit is contained in:
Benjamin Peterson 2016-02-17 23:43:08 -08:00
commit bd8112901a
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ are usually not written to match that much data.
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