Message295128
From the documentation:
"""
As the target string is scanned, REs separated by ``'|'`` are tried from left to right. When one pattern completely matches, that branch is accepted. This means that once ``A`` matches, ``B`` will not be tested further, even if it would produce a longer overall match. In other words, the ``'|'`` operator is never greedy.
"""
I think this completely describes the behavior. |
|
Date |
User |
Action |
Args |
2017-06-04 15:57:51 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ezio.melotti, mrabarnett, r.david.murray, docs@python, Mark.Shannon, Rick Otten |
2017-06-04 15:57:51 | serhiy.storchaka | set | messageid: <1496591871.28.0.787526931147.issue23532@psf.upfronthosting.co.za> |
2017-06-04 15:57:51 | serhiy.storchaka | link | issue23532 messages |
2017-06-04 15:57:51 | serhiy.storchaka | create | |
|