Subject: bug#34492: closed (Re: bug#34492: Acknowledgement (rx: ASCII-raw byte ranges comprise all of Unicode))

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 16 Feb 2019 11:47:02 +0000

Your bug report

#34492: rx: ASCII-raw byte ranges comprise all of Unicode

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
34492: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34492
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#34492: Acknowledgement (rx: ASCII-raw byte ranges comprise all of Unicode)
From: Mattias Engdegård <[email-masked]>
To: Eli Zaretskii <[email-masked]>
Cc: [email-masked]
Date: Sat, 16 Feb 2019 12:46:16 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

16 feb. 2019 kl. 12.40 skrev Eli Zaretskii <[email-masked]>:
> 
> This is OK, but we use quoting 'like this' in NEWS.

Thank you, pushed with that modification.

Subject: rx: ASCII-raw byte ranges comprise all of Unicode
From: Mattias Engdegård <[email-masked]>
To: [email-masked]
Date: Fri, 15 Feb 2019 19:23:56 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

`rx' incorrectly considers character ranges between ASCII and raw bytes to cover all codes in-between, which includes all non-ASCII Unicode chars.
This causes (any "\000-\377" ?Å) to be simplified to (any "\000-\377"), which is not at all the same thing: [\000-\377] really means [\000-\177\200-\377] -- the transformation is normally made by the Emacs regexp engine. The two ranges are not contiguous on the character code level.

It's a sleeper bug that was awakened by my fixing bug#33205, so I'm to blame for not checking this.