Name

groups

Synopsis

                        m.groups(default=None)

Returns a tuple with one item per group in r. Each item is the substring matching the corresponding group, or default if that group did not participate in the match.

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.