[issue44940] Suggest the use of non-capturing groups in re.findall() and re.finditer() docs

Vedran Čačić report at bugs.python.org
Fri Aug 20 13:01:46 EDT 2021


Vedran Čačić <vedgar at gmail.com> added the comment:

Also, maybe you should read the following sentence (also in the docs):

> If one wants more information about all matches of a pattern than the matched text, finditer() is useful as it provides match objects instead of strings.

It seems that's what you wanted in the first place.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44940>
_______________________________________


More information about the Python-bugs-list mailing list