yet it still printed the statement for the line //throw OtherException I've put '.*' at the start and end of the reg exp but it still doesn't see the throw in the throw line. Thanks, Mark.if ($line =~ /(?:(?!throw).)/ ) { debug ("Doesn't contain throw"); }
In reply to Can't match negated words. by perlgags78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |