Non-greedy quote handling