help-gnu-emacs
[Top][All Lists]
Advanced

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

execute function in replace-regexp


From: Emanuel Berg
Subject: execute function in replace-regexp
Date: Sun, 01 Oct 2017 05:22:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

How can I execute a Lisp function, namely
`downcase', on the match from `replace-regexp'?

I Googled it and found [1] the syntax

    \, (downcase \1)

but doesn't get executed, just replaced as is.

[1] 
https://emacs.stackexchange.com/questions/26492/how-do-i-lowercase-downcase-a-group-with-replace-regexp

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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