[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Transforming Captures in replace-regexp
From: |
Peter Danenberg |
Subject: |
Transforming Captures in replace-regexp |
Date: |
Sat, 17 Feb 2007 04:33:33 -0600 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
I'd like to transform captured groups from `replace-
regexp', say, by iterating over the search results with an
arbitrary function.
To take a trivial example, I'd like to run `capitalize-
region' on every \1 resulting from `\(.*\):'.
Should I be interesting in something like Icicles?*
Best, Peter
-----------
* http://www.emacswiki.org/cgi-bin/emacs-en/Icicles
- Transforming Captures in replace-regexp,
Peter Danenberg <=