Prevent regex from being too greedy.