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: 20 Feb 2003 15:35:43 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> - any sequence of [^*] is allowed
> - a * followed by [^/] is allowed
> The above two can be repeated.
> I think that avoids backtracking.

It will avoid matching past the comment-end, but it doesn't prevent the
regexp routines from pushing stuff on the stack in case we need
to backtrack (the routines are not clever enough).


        Stefan


reply via email to

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