in reply to Re: regex, use of lookaround for whole word filtering
in thread regex, use of lookaround for whole word filtering
$ perl -E'say "a nor b neither" =~ /^(?!.*neither).*nor.*$/mi ?1:0' 0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: regex, use of lookaround for whole word filtering
by dasgar (Priest) on Aug 10, 2010 at 22:19 UTC |