switching from re.match to re.search in order to give plugins more flexibility
update regex to match at start of string