Added re.match to see if performance of extracting with re.match is better than re.search