[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Finding C style comments using isearch-forward-regexp
From: |
Kevin Dziulko |
Subject: |
Re: Finding C style comments using isearch-forward-regexp |
Date: |
Mon, 24 Feb 2003 13:48:52 -0500 (EST) |
On 21 Feb 2003, Stefan Monnier <foo@acm.com> wrote:
> > 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.
>
Try: /\*[^*]*\*+\([^/*][^*]*\*+\)*/
- Re: Finding C style comments using isearch-forward-regexp, (continued)
- Re: Finding C style comments using isearch-forward-regexp, Timur Aydin, 2003/02/19
- Re: Finding C style comments using isearch-forward-regexp, Stefan Monnier <address@hidden>, 2003/02/19
- Re: Finding C style comments using isearch-forward-regexp, Kai Großjohann, 2003/02/20
- Re: Finding C style comments using isearch-forward-regexp, Stefan Monnier <address@hidden>, 2003/02/20
- Re: Finding C style comments using isearch-forward-regexp, Kai Großjohann, 2003/02/20
- Re: Finding C style comments using isearch-forward-regexp, Stefan Monnier <address@hidden>, 2003/02/20
- Re: Finding C style comments using isearch-forward-regexp, Kevin Dziulko, 2003/02/21
Re: Finding C style comments using isearch-forward-regexp, Kai Großjohann, 2003/02/19
Re: Finding C style comments using isearch-forward-regexp, Stefan Monnier <address@hidden>, 2003/02/21
- Re: Finding C style comments using isearch-forward-regexp,
Kevin Dziulko <=