|
From: | Michael Heerdegen |
Subject: | Re: [SOLVED] Re: (rx regexp to remove space and new lines |
Date: | Tue, 13 Sep 2022 04:44:29 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Jean Louis <bugs@gnu.support> writes: > (rx (one-or-more (or "\n" (any whitespace)))) It had been mentioned that newlines count as whitespace. And (any CHARCLASS) can be simplified to CHARCLASS. And you probably want greedy matching. You get: (rx (+ whitespace)) Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |