|
From: | Emanuel Berg |
Subject: | Re: Emacs: adding 1 to every number made of 2 digits inside a marked region. |
Date: | Thu, 23 Sep 2021 02:46:25 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hongyi Zhao wrote: > `M-:' the above code with your data in scratch gives me the > following message in minibuffer: > > [Trailing garbage following expression] It is interactive so just do M-x ... (re-search-forward "[[:digit:]]\\{2\\}" nil t) Stick to the replace and match stuff when doing this as otherwise it is easy to insert stuff and then get a hit on that and so on ... -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |