That is incorrect. That's part of the reason for using negated match classes. It cannot over-match.
In reply to Re^3: How can I delete characters between < and > in Perl?
by Your Mother
in thread How can I delete characters between < and > in Perl?
by boom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |