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

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

bug#48480: closed ([a-Z] is not a valid regex range in 3.0.7)


From: GNU bug Tracking System
Subject: bug#48480: closed ([a-Z] is not a valid regex range in 3.0.7)
Date: Mon, 17 May 2021 15:58:02 +0000

Your message dated Mon, 17 May 2021 17:57:05 +0200
with message-id <87wnrxgxpq.fsf@gnu.org>
and subject line Re: bug#48480: [a-Z] is not a valid regex range in 3.0.7
has caused the debbugs.gnu.org bug report #48480,
regarding [a-Z] is not a valid regex range in 3.0.7
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
48480: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48480
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [a-Z] is not a valid regex range in 3.0.7 Date: Mon, 17 May 2021 17:09:45 +0200
Hello,

(make-regexp "[a-Z]") fails in Guile 3.0.7 with "Invalid range end".

This is a regression since 3.0.5.

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: bug#48480: [a-Z] is not a valid regex range in 3.0.7 Date: Mon, 17 May 2021 17:57:05 +0200
Taylan Kammer <taylan.kammer@gmail.com> skriver:

> On 17.05.2021 17:09, Marius Bakke wrote:
>> Hello,
>> 
>> (make-regexp "[a-Z]") fails in Guile 3.0.7 with "Invalid range end".
>> 
>> This is a regression since 3.0.5.
>> 
>
> I think that's normal.
>
>   $ grep -E '[a-Z]'
>   grep: Invalid range end
>
> You're supposed to use [a-zA-Z] or better yet, something locale-aware
> such as [[:alpha:]].
>
> I get the same error on Guile 2.2, are you sure that it ever worked?

Oh indeed, this appears to be because of a behavior change in glibc.

Closing the issue, thanks for the prompt feedback!

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

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