in reply to Regular expression help: why does this not match?
$a = "http://www.myurl.com/e.php?a"; $b = "http://www.myurl.com/e.php?a"; if ($a =~ /\Q$b\E/) { # <--------- print "FOUND\n"; } else { print "NOT FOUND\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regular expression help: why does this not match?
by lokiloki (Beadle) on Jan 18, 2007 at 23:11 UTC | |
by gaal (Parson) on Jan 19, 2007 at 07:40 UTC | |
by Hofmator (Curate) on Jan 19, 2007 at 08:01 UTC |