Removed smartmatching, now just iterates through regular expression list