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 14:32:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

<tomas@tuxteam.de> writes:

> > Eh - oh, of course, depends on the syntax table, sorry.
>
> This would be unfortunate. What would correspond to "[[:space:]]", i.e.
> the syntax-independent POSIX whitespace?

rx transforms 'whitespace' to [:space:].

But (info "(elisp) Char Classes") told me that "[:space:] [...] matches
any character that has whitespace syntax (*note Syntax Class Table)", so I
assumed that the meaning is not constant... or is it?

Michael.




reply via email to

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