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: Tue, 10 Oct 2006 03:39:14 +0000 (UTC)
User-agent: trn [how to get a version via %-escapes???] with a custom header

[A complimentary Cc of this posting was NOT [per weedlist] sent to
David Kastrup 
<dak@gnu.org>], who wrote in article <85zmc5xh9f.fsf@lola.goethe.zz>:
> > Additionally, when interpolating replacement string, one should also
> > shift match-group references by corresponding amount; but this is
> > easier done in the code of interpolator (I hope it is in ELisp, not in
> > C).

> Your quoting does not make it clear who wrote what.  Anyway, you could
> just use match-data, nthcdr, set-match-data and some other stuff to
> just shift the match data appropriately before performing the
> replacement.

Neet idea.

Yours,
Ilya


reply via email to

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