[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Improve `replace-regexp-in-string' ergonomics?
From: |
Lars Ingebrigtsen |
Subject: |
Re: Improve `replace-regexp-in-string' ergonomics? |
Date: |
Wed, 22 Sep 2021 08:37:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Po Lu <luangruo@yahoo.com> writes:
> In my Emacs configuration, there is already a function named
> `regexp-replace', that has about 45 callers.
Do you know what package that comes from?
> How about an additional argument to `string-replace', that when non-nil
> causes string-replace to behave like replace-regexp-in-string?
No, that's not good language design.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Re: Improve `replace-regexp-in-string' ergonomics?, Adam Porter, 2021/09/22
Re: Improve `replace-regexp-in-string' ergonomics?, Andreas Schwab, 2021/09/22
Re: Improve `replace-regexp-in-string' ergonomics?, Augusto Stoffel, 2021/09/22