Convert SRE_Match object to string
If you want to see all groups in order:
result = re.search(your_stuff_here)
if result:
print result.groups()
You should do it as:
result = re.search(your_stuff_here)
if result:
print result.group(0)