[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: |
Sat, 7 Oct 2006 03:45:21 +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 <85ejtlyuhv.fsf@lola.goethe.zz>:
> >> 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?
How many people do you know who would type something like this? :-(
And to have a "generally usable" wrapper, one needs a way to identify
how many paren groups are inside your "foo" and "rock" regular
expressions.
Hope this helps,
Ilya
- multiple search strings in query-replace-regexp, Florian Kaufmann, 2006/10/06
- Re: multiple search strings in query-replace-regexp, Malte Spiess, 2006/10/06
- Re: multiple search strings in query-replace-regexp, Florian Kaufmann, 2006/10/06
- Re: multiple search strings in query-replace-regexp, David Kastrup, 2006/10/06
- Re: multiple search strings in query-replace-regexp, Ilya Zakharevich, 2006/10/06
- Re: multiple search strings in query-replace-regexp, David Kastrup, 2006/10/06
- Re: multiple search strings in query-replace-regexp,
Ilya Zakharevich <=
- Message not available
- Re: multiple search strings in query-replace-regexp, David Kastrup, 2006/10/07
- Re: multiple search strings in query-replace-regexp, Ilya Zakharevich, 2006/10/07
- Re: multiple search strings in query-replace-regexp, David Kastrup, 2006/10/07
- Re: multiple search strings in query-replace-regexp, Ilya Zakharevich, 2006/10/07
- Re: multiple search strings in query-replace-regexp, Mathias Dahl, 2006/10/08
- Re: multiple search strings in query-replace-regexp, Kim F. Storm, 2006/10/08
- Message not available
- Re: multiple search strings in query-replace-regexp, Mathias Dahl, 2006/10/12
- Re: multiple search strings in query-replace-regexp, Stefan Monnier, 2006/10/09
- Re: multiple search strings in query-replace-regexp, Ilya Zakharevich, 2006/10/09
- Re: multiple search strings in query-replace-regexp, David Kastrup, 2006/10/09