There can't be gaps in what matches. «.+?» must start matching where «,» left off. I added a "full" trace to my post.
In reply to Re^3: Non-greedy substitution
by ikegami
in thread Non-greedy substitution
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |