http://qs321.pair.com?node_id=887000


in reply to The simplest perl Multi Line matching.

See Perl FAQ 6 Regex: How can I pull out lines between two patterns that are themselves on different lines?