The stupid question is the question not asked | |
PerlMonks |
Re^2: Can't match negated words.by perlgags78 (Acolyte) |
on Jun 24, 2004 at 15:29 UTC ( [id://369396]=note: print w/replies, xml ) | Need Help?? |
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
|
|