mirror of
https://github.com/python/cpython.git
synced 2024-11-28 12:31:14 +08:00
merge 3.5 (#26378)
This commit is contained in:
commit
bd8112901a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user