avoid a greedy match