help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding C style comments using isearch-forward-regexp


From: Stefan Monnier <address@hidden>
Subject: Re: Finding C style comments using isearch-forward-regexp
Date: 21 Feb 2003 09:42:16 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> The regexp /*[^\(*/\)]*/ will find C comments in a non-greedy fashion.
> Does this help your stack problems?

It will find any comment which has no *, no /, no (, no ), and no \ in
its text.  I don't think that's quite what you wanted, so I presume
you slightly misunderstand the way [...] works.  Check out the
manual again.


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]