in reply to Re: Can't match negated words.
in thread Can't match negated words.
Hi Abigail,
I'd like to match the first '/*' and check that there's no
throw declared before it.
I think it should look something like this?
m!^/[*].*?(?:(?!throw).)*/[*]!s
I can't really understand what the '.)*' means after the throw?
You could explain it briefly could you? Thanks,
Mark.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Can't match negated words.
by Abigail-II (Bishop) on Jun 24, 2004 at 16:03 UTC |
In Section
Seekers of Perl Wisdom