[docs] [issue29291] Misleading text in the documentation of re library for non-greedy match
report at bugs.python.org
Tue Jan 17 03:44:38 EST 2017
Serhiy Storchaka added the comment:
The documentation doesn't look incorrect to me. The non-greedy match doesn't fallback to the greedy match, it always matches as few characters as *possible* will be matched. For example a.match("<a> b <c><span><d> e <f><span>") matches "<a> b <c><span>", not "<a> b <c><span><d> e <f><span>".
Python tracker <report at bugs.python.org>
More information about the docs