Add tests to cover correct regex matching
Ensure an exact match is not "overruled" by a regex match