|
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:12:48 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>>> (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. It is more idiomatic. Character class and the repitition postfix operator. Casca, Farnese and Schierke. Beat us if you can. -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |