Use re.search rather than re.match (this is more intuitive).