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 reply to Re^2: Can't match negated words.
by perlgags78
in thread Can't match negated words.
by perlgags78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |