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

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

bug#58992: 28.2; "lax space matching" no longer works


From: Andreas Schwab
Subject: bug#58992: 28.2; "lax space matching" no longer works
Date: Fri, 04 Nov 2022 15:35:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

On Nov 04 2022, Vincent Lefevre wrote:

> On 2022-11-04 14:25:20 +0100, Andreas Schwab wrote:
>> 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.
>
> No, you didn't.
>
>> ‘[:space:]’
>>      This matches any character that has whitespace syntax (*note Syntax
>>      Class Table::).
>
> This is NOT a POSIX feature!!!

Yes, it is.  POSIX has introduced that syntax, and Emacs copied it.

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





reply via email to

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