in reply to Can't match negated words.
yet it still printed the statement for the lineif ($line =~ /(?:(?!throw).)/ ) { debug ("Doesn't contain throw"); }
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.//throw OtherException
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't match negated words.
by hv (Prior) on Jun 24, 2004 at 14:00 UTC | |
by perlgags78 (Acolyte) on Jun 24, 2004 at 15:14 UTC |