in reply to Re^2: How can i catch strings matching a regex across multiple lines?
in thread How can i catch strings matching a regex across multiple lines?

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.

  • Comment on Re^3: How can i catch strings matching a regex across multiple lines?