I think (didn't test it) that the * is two greedy, better *?.
Cheers Rolf
In reply to Re^4: Replace newlines only if not inside braces
by LanX
in thread Replace newlines only if not inside braces
by jbryan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |