in reply to Re^3: regex, use of lookaround for whole word filtering
in thread regex, use of lookaround for whole word filtering

Two regexes with capturing in the first one, then:
$test = "a nor b neither"; say $test =~ /(.*?nor)/i && $1 !~ /neither/i ? 1 : 0;