On 10/3/07, siegfried <[EMAIL PROTECTED]> wrote:
> I need to search large amounts of source code and grep is not doing the job.
> The problem is that I keep matching stuff in the comments of the
> C++/Java/Perl/Groovy/Javascript source code.
>
> Can someone give me some hints on where I might start on rewriting grep in
> perl so that it ignores the contents of /* and */ comments?
snip

perldoc -q comments

will get you halfway there

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to