is returning true even though the conditions if ($flintstones =~ m/(\w*) or \w* \1/) is false$flintstones = "\n or modern stoneage"; if ($flintstones =~ m/(\w*) or \w* \1/){ print "True\n"; }
In reply to Re^2: regex and matching
by hasnainzeenwala
in thread regex and matching
by hasnainzeenwala
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |