s/.*\K\{ Name.*\}//s;
I don't understand the purpose of the .*\K sub-expression in this substitution. Is it perhaps intended as a defensive measure against nested { ... } groups? I suppose the thing to do is play around with it a bit, but I don't have time ATM. Could you please comment on this?
Give a man a fish: <%-{-{-{-<
In reply to Re^2: Delete a string possibly over two lines
by AnomalousMonk
in thread Delete a string possibly over two lines
by texuser
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |