if (!($str =~ /^FOO$/)) { //do something for no match } [download]
In reply to Re: regex negation without !~ by cengineer in thread regex negation without !~ by Anonymous Monk