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

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

bug#33205: 26.1; unibyte/multibyte missing in rx.el


From: Eli Zaretskii
Subject: bug#33205: 26.1; unibyte/multibyte missing in rx.el
Date: Sat, 08 Dec 2018 10:56:40 +0200

> From: Mattias Engdegård <address@hidden>
> Date: Mon, 19 Nov 2018 21:07:39 +0100
> Cc: address@hidden
> 
> I tried using rx to match raw bytes. (rx (any (?\200 . ?\377))) doesn't work, 
> since that is translated to the corresponding Unicode range; (any (#x3fff80 . 
> #x3fffff)) must be used instead. Maybe that is evident, or would it merit a 
> mention in the doc string?
> 
> The alternative formulation (rx (any "\200-\377")) doesn't work either, and 
> this seems to be a bug. Looking at rx-check-any-string, a second bug is 
> revealed: the code uses the regex ".-." to pick out ranges, which means that 
> \n cannot be a range endpoint.
> 
> Perhaps you want me to open a new bug for the above? I'm attaching a patch 
> all the same, but you may prefer doing it differently.

Thanks.  For a patch of this size, we would need a copyright
assignment from you.  Would you like to start the legal paperwork for
that?





reply via email to

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