You remove that option modifier 'g'.
Now it will work.
Did you try your solution? Why did you think it would work?
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re^2: Matching across multiple lines
by davorg
in thread Matching across multiple lines
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |