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

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

Re: [SOLVED] Re: (rx regexp to remove space and new lines


From: Michael Heerdegen
Subject: Re: [SOLVED] Re: (rx regexp to remove space and new lines
Date: Tue, 13 Sep 2022 12:19:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Jean Louis <bugs@gnu.support> writes:

> it works here in this buffer, but in other Emacs buffer it does not
> work. This is maybe because whitespace is defined diffrently per
> buffer?

Eh - oh, of course, depends on the syntax table, sorry.

But
 
  (rx (+ (or "\n" whitespace)))

should hopefully be correct.

Michael.





reply via email to

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