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.
In Section
Seekers of Perl Wisdom