>>> m = re.search(r"\A(\w+) (\w+)", "Norwegian Blue, pining for the fjords")
>>> m.group(0)# The entire match'Norwegian Blue'
>>> m.group(1)# The first parenthesized subgroup.'Norwegian'
>>> m.group(2)# The second parenthesized subgroup.'Blue'
>>> m.group(1, 2)# Multiple arguments give us a tuple.('Norwegian', 'Blue')