|
From: | Timur Aydin |
Subject: | Re: Finding C style comments using isearch-forward-regexp |
Date: | Wed, 19 Feb 2003 19:03:57 +0200 |
User-agent: | Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 (i386-msvc-nt5.0.2195) |
kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes: > Timur Aydin <timuraydin@superonline.com> writes: > >> I am struggling to find C style comments using the >> isearch-forward-regexp function (C-M-s). Here is the regexp that I am >> using: >> >> /\*\(.\|^J\)*\*/ > > Why with a regexp? Why not use a command like forward-comment? > > Or you could use font-lock and just search for the next character > which has comment face. Hmm, that seems like a workaround. But the mentioned regexp not working indicates a bug in the emacs regexp handler, doesn't it? -- Timur Aydin
[Prev in Thread] | Current Thread | [Next in Thread] |