T
Tom
Hi,
Can someone please tell me how to get round this problem. To simplify
it, I give a small example:
my $string = "catch+22";
my $RE = "h+22";
if ($string =~ /$RE/) {
print "I found the RE.\n";
}
It does not find the string h+22 within the catch+22. I can see why,
but don't know how to remedy it.
Thanks for the help.
Tom.
Can someone please tell me how to get round this problem. To simplify
it, I give a small example:
my $string = "catch+22";
my $RE = "h+22";
if ($string =~ /$RE/) {
print "I found the RE.\n";
}
It does not find the string h+22 within the catch+22. I can see why,
but don't know how to remedy it.
Thanks for the help.
Tom.