Hello,
this is something that I still do not know how to avoid.
Assume I have some statement like this one
if ($eng =~ /$chunk/) {
print "$eng\n";
}
If $chunk is something like "word (" then I get an error message like unmatched () in regexp
But I want to be able to search for "word (" (yes, with that open parenthesis ) in $eng. How to I go about checking whether the entire $chunk is contained in $eng ?
Hope you can help.
Grazia
this is something that I still do not know how to avoid.
Assume I have some statement like this one
if ($eng =~ /$chunk/) {
print "$eng\n";
}
If $chunk is something like "word (" then I get an error message like unmatched () in regexp
But I want to be able to search for "word (" (yes, with that open parenthesis ) in $eng. How to I go about checking whether the entire $chunk is contained in $eng ?
Hope you can help.
Grazia