Fix: replace re.match() by re.search()