ensure we use restrictive, not greedy regex for matching