in reply to trouble regexing the next line
Since you read line by line, each line you match against can never match a multi-line regex. One possible solution is to read the whole thing into a single string first.
In Section
Seekers of Perl Wisdom
in reply to trouble regexing the next line
Since you read line by line, each line you match against can never match a multi-line regex. One possible solution is to read the whole thing into a single string first.