[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rename regex functions to use prefix re-
From: |
Phillip Lord |
Subject: |
Re: Rename regex functions to use prefix re- |
Date: |
Tue, 05 May 2020 22:56:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (gnu/linux) |
Stefan Kangas <address@hidden> writes:
> Yuan Fu <address@hidden> writes:
>
>> What about
>>
>> re-search-forward re-search-forward
>> re-search-backward re-search-backward
>> replace-regexp-in-string re-replace-in-string
>> replace-match re-replace-match
>> string-match re-search-in-string
>> match-string re-matched-string
>>
>> Or something along that line?
>
> We could think about the exact renames, but already the above looks
> like a big improvement to me. I would definitely support regularizing
> the regex functions to use the "re-" prefix.
Worth looking at Wilfred Hughes re.el. Or my own "m-buffer" which
obviates the need for re-search-forward and replace-match in many
circumstances.
There are a pile of these different libraries, with clean,
well-thoughtout and regular APIs. They are a big improvement over Emacs
organically grown set.
Phil
- Re: Imports / inclusion of s.el into Emacs, (continued)
- Re: Imports / inclusion of s.el into Emacs, Stefan Monnier, 2020/05/01
- Re: Imports / inclusion of s.el into Emacs, Philippe Vaucher, 2020/05/01
- Re: Imports / inclusion of s.el into Emacs, Dmitry Gutov, 2020/05/01
- Re: Imports / inclusion of s.el into Emacs, Richard Stallman, 2020/05/02
- Re: Imports / inclusion of s.el into Emacs, Yuan Fu, 2020/05/01
- Re: Imports / inclusion of s.el into Emacs, Yuan Fu, 2020/05/01
- Rename regex functions to use prefix re-, Stefan Kangas, 2020/05/01
- Re: Rename regex functions to use prefix re-,
Phillip Lord <=
- Re: Imports / inclusion of s.el into Emacs, Philippe Vaucher, 2020/05/02
- Re: Imports / inclusion of s.el into Emacs, Stefan Kangas, 2020/05/02
- Re: Imports / inclusion of s.el into Emacs, Richard Stallman, 2020/05/02
- Re: Imports / inclusion of s.el into Emacs, Stefan Monnier, 2020/05/03
- Re: Imports / inclusion of s.el into Emacs, Philippe Vaucher, 2020/05/03
- Re: Imports / inclusion of s.el into Emacs, Richard Stallman, 2020/05/03
- Re: Imports / inclusion of s.el into Emacs, Richard Stallman, 2020/05/03
- Re: Imports / inclusion of s.el into Emacs, João Távora, 2020/05/01
- Re: Imports / inclusion of s.el into Emacs, Stefan Kangas, 2020/05/01
- Re: Imports / inclusion of s.el into Emacs, João Távora, 2020/05/01