Fixed regex and switched re.match to re.search