fix: using re.search() instead re.match()