Looks like you have your pattern and string reversed.
my $folder='FileMuxInternaldefs'; my $mk='./AACBaseFileLib/common.mk: $(PROJECT_ROOT)/../FilemuxInterna +lDef'; if ($mk =~ /\Q$folder\E/i) {
Also, there is an extra 's' at the end of $folder that won't match in $mk.
Finally, you might consider creating an account here so that you and others can keep track of your questions more easily. It helps to be able to remember you're previous questions when answering your current ones.
- Miller
In reply to Re: Cont:match failing
by wind
in thread Cont:match failing
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |