[Top][All Lists]

[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

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.


reply via email to

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