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

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

Re: A variant of match-end, but after replacement?


From: Nicolas Richard
Subject: Re: A variant of match-end, but after replacement?
Date: Mon, 20 Jul 2015 12:46:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Marcin Borkowski <mbork@mbork.pl> writes:
> Nope - I'm doing search and replacement in a string, not in a buffer...

you could do:
   (with-temp-buffer
     (insert string)
     do-magic-here
     (buffer-string))

-- 
Nico.



reply via email to

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