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: David Kastrup
Subject: Re: multiple search strings in query-replace-regexp
Date: Sat, 07 Oct 2006 00:01:00 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ilya Zakharevich <nospam-abuse@ilyaz.org> writes:

> [A complimentary Cc of this posting]

Please don't.  It is sufficient to answer to the list.

> David Kastrup wrote:
>> 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?

Uh WHAT?  You just type the above stuff.  Why would that not be
useful?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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