Python match a string with regex,"re.search('sample', line)"