[Top][All Lists]

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

Re: please implement query-exchange

From: Eli Zaretskii
Subject: Re: please implement query-exchange
Date: Tue, 19 Nov 2002 20:59:08 +0300

> From: Ami Fischman <usenet@fischman.org>
> Date: Tue, 19 Nov 2002 09:25:19 -0800
> "Eli Zaretskii" <eliz@is.elta.co.il> writes:
> [...]
> > Can't you do that with query-replace-regexp using parenthesized
> > subexpressions and the \N feature (where N is a digit)?
> Is this really possible?  When I first read your post, I just said to
> myself "oh, yeah, that's right; that should take care of it" but later on I
> actually tried to implement a query-exchange function using only one
> query-replace-regexp, and couldn't figure out how to do it.  I see from (a
> private email?) that Dan posted to the list that you suggested to him a
> regexp that would take care of his particular string of text, but I'm now
> more curious about the general problem.

I didn't mean to suggest a general solution.  I meant to say that for
each specific case one can devise a regexp and a replacement string
with \N that solves that particular case.

reply via email to

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