[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45516: 26.3; (elisp) `Modifying Strings': Mention `replace-regexp-in
From: |
Lars Ingebrigtsen |
Subject: |
bug#45516: 26.3; (elisp) `Modifying Strings': Mention `replace-regexp-in-string' |
Date: |
Tue, 29 Dec 2020 02:19:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Drew Adams <drew.adams@oracle.com> writes:
> Subject line says it all. This is an important function for modifying
> strings. Please consider mentioning it, with a cross-reference.
That node is about destructively modifying strings.
replace-regexp-in-string doesn't modify anything -- it returns a new
string.
But it's odd that there's no mention of replace-regexp-in-string (and
string-replace) in the Strings section, so I've now added a reference
from the Creating Strings node.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no