[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Transforming Captures in replace-regexp
From: |
David Kastrup |
Subject: |
Re: Transforming Captures in replace-regexp |
Date: |
Sat, 17 Feb 2007 13:05:54 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
Peter Danenberg <pcd@wikitex.org> writes:
>> I'd like to transform captured groups from `replace-regexp', say,
>> by iterating over the search results with an arbitrary function.
>
>
> The answer is of course to use `\,', following by an
> arbitrary Lisp expression; read the source, Luke!
Works only with Emacs>21, namely pretests or development snapshots of
Emacs 22.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum