Not quite. See perlvar, "INPUT_RECORD_SEPARATOR": setting $/ to an empty string sets the input record separator to "two or more consecutive empty lines." That's what he wants here, since his records are separated by a blank line.
Aaron B.
Available for small or large Perl jobs; see my home node.
In reply to Re^3: How can i catch strings matching a regex across multiple lines?
by aaron_baugher
in thread How can i catch strings matching a regex across multiple lines?
by babelfish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |