Your one-liner is reading the file one line at a time. See perlrun for changing $/ from a command line option. Paragraph mode (-000)looks like a good bet.
After Compline,
Zaxo
In reply to Re: Problem with a multi-line regexp
by Zaxo
in thread Problem with a multi-line regexp
by nr0mx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |