Why isn't the below match working even though FileMuxInternaldefs is present in $mk
#!/usr/bin/perl -w use strict; use warnings; my $folder='FileMuxInternaldefs'; my $mk='./AACBaseFileLib/common.mk: $(PROJECT_ROOT)/../FilemuxInterna +lDef'; if ($folder =~ /$mk/i) #this match failing for the give input { print "\nIN\n"; if ($folder !~ /$mk/m) { print "CASE-SENSITIVE:$mk\n"; } }
In reply to Cont:match failing by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |