in reply to Re^3: Multiline match
in thread Multiline match
my $str = "update patch-5.1.1.21510"; my $patch = "patch-5.1.1.21510.gpg"; if ($str =~/$patch/ms) { print "Yes \n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Multiline match
by LanX (Saint) on May 23, 2013 at 16:45 UTC | |
|
Re^5: Multiline match
by hdb (Monsignor) on May 23, 2013 at 16:36 UTC |