zeni has asked for the wisdom of the Perl Monks concerning the following question:
Hi
$line = "API##"; if($line =~ m/"API#"/) { print "Match found\n"; } else { print "Match not found\n"; }
Output Expected: "API##" not matched
I need to find the words with a single '#' but it shows matched. Pls help
-- TIA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: String Match
by moritz (Cardinal) on Nov 30, 2009 at 12:30 UTC | |
|
Re: String Match
by bellaire (Hermit) on Nov 30, 2009 at 12:28 UTC | |
by ww (Archbishop) on Nov 30, 2009 at 13:06 UTC | |
by happy.barney (Friar) on Nov 30, 2009 at 13:19 UTC | |
by zeni (Beadle) on Nov 30, 2009 at 13:03 UTC |