in reply to Re^2: Non-greedy substitutionin thread Non-greedy substitution
There can't be gaps in what matches. «.+?» must start matching where «,» left off. I added a "full" trace to my post.