Regular Expressions Python Tutorial

import re
match = re.match('/(.*)/(.*)/(.*)', '/usr/home/joe')
print match.groups(  )