regex were too greedy