GNU bug report logs - #58992
28.2; "lax space matching" no longer works

Previous Next

Package: emacs;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Thu, 3 Nov 2022 16:54:02 UTC

Severity: normal

Found in version 28.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Vincent Lefevre <vincent <at> vinc17.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 58992 <at> debbugs.gnu.org
Subject: bug#58992: 28.2; "lax space matching" no longer works
Date: Fri, 04 Nov 2022 14:25:20 +0100
On Nov 04 2022, Vincent Lefevre wrote:

> On 2022-11-04 12:38:14 +0100, Andreas Schwab wrote:
>> On Nov 04 2022, Vincent Lefevre wrote:
>> 
>> > Wow! This is really confusing! [:space:] is defined by POSIX,
>> 
>> Emacs regexps are _not_ defined by POSIX.
>> 
>> >     A character alternative can also specify named character classes
>> >     (*note Char Classes::).  This is a POSIX feature.  [...]
>                                  ^^^^^^^^^^^^^^^^^^^^^^^
>
>> Did you read the referenced node?
>
> Did you read what the manual says?

Yes, I did.

‘[:space:]’
     This matches any character that has whitespace syntax (*note Syntax
     Class Table::).

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




This bug report was last modified 2 years and 203 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.