* Daniel Dehennin (2005-07-06) writes:

> Le 4326 Septembre 1993, Lute Kamstra a tapoté:
>> (let ((s "ONE TWO"))
>>   (string-match "\\<t\\(\\w+\\)" s)
>>   (replace-match (downcase (match-string 1 s)) t t s 1))
>
> Well, in interactive replacement like query-replace-regexp, I can not
> make lisp call in the replacement part :-(

With a CVS Emacs:

C-M-% \(some-regexp\) RET \,(downcase \1) RET

See (info "(emacs)Regexp Replace").

-- 
Ralf


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to