$test = "a nor b neither"; say $test =~ /(.*?nor)/i && $1 !~ /neither/i ? 1 : 0;
In reply to Re^4: regex, use of lookaround for whole word filtering
by choroba
in thread regex, use of lookaround for whole word filtering
by yonatan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |