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: tomas
Subject: Re: [SOLVED] Re: (rx regexp to remove space and new lines
Date: Tue, 13 Sep 2022 14:48:01 +0200

On Tue, Sep 13, 2022 at 02:32:58PM +0200, Michael Heerdegen wrote:
> <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?

Good question. I'll check once I'm off work (unless someone else beats me
to it, that is).

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

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