Ezio Melotti <ezio.melo...@gmail.com> added the comment:

What Jon said is correct, .group() is equivalent to .group(0) and returns the 
whole match. re.findall returns all the groups captured by each set of () as a 
list of strings (if there is 0 or 1 group) or a list of tuples (if there are 
more than 1).

----------
nosy: +ezio.melotti
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8185>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to