|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: how to write a multi-line regexby holli (Monsignor) |
| on Jan 22, 2010 at 00:04 UTC ( #818844=note: print w/ replies, xml ) | Need Help?? |
|
You forgot the x-modifier. $input_string=~m/$regex/x; holli You can lead your users to water, but alas, you cannot drown them.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||