all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#34492: rx: ASCII-raw byte ranges comprise all of Unicode
@ 2019-02-15 18:23 Mattias Engdegård
       [not found] ` <handler.34492.B.15502550523602.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Mattias Engdegård @ 2019-02-15 18:23 UTC (permalink / raw)
  To: 34492

`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.






^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-02-16 11:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-15 18:23 bug#34492: rx: ASCII-raw byte ranges comprise all of Unicode Mattias Engdegård
     [not found] ` <handler.34492.B.15502550523602.ack@debbugs.gnu.org>
2019-02-15 18:29   ` bug#34492: Acknowledgement (rx: ASCII-raw byte ranges comprise all of Unicode) Mattias Engdegård
2019-02-16  7:20     ` Eli Zaretskii
2019-02-16  8:08       ` Mattias Engdegård
2019-02-16 10:14         ` Eli Zaretskii
2019-02-16 11:05           ` Mattias Engdegård
2019-02-16 11:40             ` Eli Zaretskii
2019-02-16 11:46               ` Mattias Engdegård

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.