From: Kevin Dziulko <dziulko@klaatu.canisius.edu>
Subject: Re: Finding C style comments using isearch-forward-regexp
Date: Mon, 24 Feb 2003 13:48:52 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.44.0302241347210.19996-100000@klaatu.canisius.edu> (raw)
In-Reply-To: <5lu1exr8zb.fsf@rum.cs.yale.edu>
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: /\*[^*]*\*+\([^/*][^*]*\*+\)*/
next prev parent reply other threads:[~2003-02-24 18:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2229.1045836305.21513.help-gnu-emacs@gnu.org>
2003-02-21 14:42 ` Finding C style comments using isearch-forward-regexp Stefan Monnier <foo@acm.com>
2003-02-24 18:48 ` Kevin Dziulko [this message]
2003-02-19 13:40 Timur Aydin
2003-02-19 14:15 ` Kai Großjohann
2003-02-19 17:03 ` Timur Aydin
2003-02-19 19:46 ` Stefan Monnier <foo@acm.com>
2003-02-20 7:19 ` Kai Großjohann
2003-02-20 20:35 ` Stefan Monnier <foo@acm.com>
2003-02-20 21:25 ` Kai Großjohann
2003-02-20 23:52 ` Stefan Monnier <foo@acm.com>
2003-02-21 14:00 ` Kevin Dziulko
2003-02-19 19:01 ` Kai Großjohann
2003-02-19 19:49 ` Stefan Monnier <foo@acm.com>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.44.0302241347210.19996-100000@klaatu.canisius.edu \
--to=dziulko@klaatu.canisius.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).