if(/[^xyz]/) { # It matches, though it shouldn't print "No good."; return 0; } else { print "Acceptable"; return 1; }