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

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

Re: multiple search strings in query-replace-regexp


From: Ilya Zakharevich
Subject: Re: multiple search strings in query-replace-regexp
Date: Fri, 6 Oct 2006 21:45:22 +0000 (UTC)
User-agent: trn [how to get a version via %-escapes???] with a custom header

[A complimentary Cc of this posting was sent to
David Kastrup 
<dak@gnu.org>], who wrote in article <85y7rt1x2k.fsf@lola.goethe.zz>:
> With Emacs 22:
> 
> C-M-% \(foo\)\|\(rock\)\|metal RET
> \,(cond (\1 "bar") (\2 "house") ("goa")) RET

To make it useful, one needs a function to count the number of
parentheses in a given regular expression.  Is there?

Yours,
Ilya


reply via email to

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