R
rusi
Can someone throw some light on this anomalous behavior?
Traceback (most recent call last):
['b', 'bb', 'bbbbb']
So evidently group counts by number of '()'s and not by number of
matches (and this is the case whether one uses match or search). So
then whats the point of search-ing vs match-ing?
Or equivalently how to move to the groups of the next match in?
[Side note: The docstrings for this really suck:
Help on built-in function group:
group(...)
Traceback (most recent call last):
['b', 'bb', 'bbbbb']
So evidently group counts by number of '()'s and not by number of
matches (and this is the case whether one uses match or search). So
then whats the point of search-ing vs match-ing?
Or equivalently how to move to the groups of the next match in?
[Side note: The docstrings for this really suck:
Help on built-in function group:
group(...)