in reply to
how to write a multi-line regex
You forgot the x-modifier.
$input_string=~m/$regex/x;
holli
You can lead your users to water, but alas, you cannot drown them.
Comment on
Re: how to write a multi-line regex
Download
Code
In Section
Seekers of Perl Wisdom