http://qs321.pair.com?node_id=572931


in reply to regular expressions with !

If you want "no match", use it:

if ( $test_string !~ /$regex/) {
unless ( $test_string =~ /$regex/) {