help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs: adding 1 to every number made of 2 digits inside a marked reg


From: Emanuel Berg
Subject: Re: Emacs: adding 1 to every number made of 2 digits inside a marked region.
Date: Thu, 23 Sep 2021 04:06:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hongyi Zhao wrote:

>> (re-search-forward "[[:digit:]]\\{2\\}" nil t)
>
> Still no so clear what's your meaning. The function you
> defined above is named as `digits-sum' with an alias `di'.
> I can't see how this code has anything to do with the ones
> you posted previously.

This code has to do with the one you posted previously.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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