...unless ($check =~ m/Y/i) :)if(($check =~ m/YES/i) and (($line =~ m/$var1/i) || ($line =~ m/$var2/ +i))) { print "Inside if\n";} else {print "Outside if\n";}
In reply to Re^3: Issue with matching regex
by rsFalse
in thread Issue with matching regex
by KishKishore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |