emacs-devel
[Top][All Lists]
Advanced

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

Re: Improve `replace-regexp-in-string' ergonomics?


From: Po Lu
Subject: Re: Improve `replace-regexp-in-string' ergonomics?
Date: Thu, 23 Sep 2021 08:11:34 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Well, then I don't think we should feel constrained by its existence
> when choosing function names for Emacs core.  (Not that I think that
> `regexp-replace' is a good name -- but it's just hard to come up with
> something that's short, not awkward and hasn't already been taken.
> `re-replace'?  `string-replace-re'?  `string-replace-regexp'?
> `string-re'?  Naming is hard.)

Fair enough, I'd also say  `re-replace' LGTM.

Thanks.


reply via email to

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