GNU bug report logs - #48480
[a-Z] is not a valid regex range in 3.0.7

Previous Next

Package: guile;

Reported by: Marius Bakke <marius <at> gnu.org>

Date: Mon, 17 May 2021 15:10:01 UTC

Severity: normal

Done: Marius Bakke <marius <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Marius Bakke <marius <at> gnu.org>
Subject: bug#48480: closed (Re: bug#48480: [a-Z] is not a valid regex
 range in 3.0.7)
Date: Mon, 17 May 2021 15:58:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#48480: [a-Z] is not a valid regex range in 3.0.7

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

The explanation is attached below, along with your original report.
If you require more details, please reply to 48480 <at> debbugs.gnu.org.

-- 
48480: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48480
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Marius Bakke <marius <at> gnu.org>
To: Taylan Kammer <taylan.kammer <at> gmail.com>, 48480-done <at> debbugs.gnu.org
Cc: dsmich <at> roadrunner.com
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
[Message part 3 (text/plain, inline)]
Taylan Kammer <taylan.kammer <at> 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!
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Marius Bakke <marius <at> gnu.org>
To: bug-guile <at> gnu.org
Subject: [a-Z] is not a valid regex range in 3.0.7
Date: Mon, 17 May 2021 17:09:45 +0200
[Message part 6 (text/plain, inline)]
Hello,

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

This is a regression since 3.0.5.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 89 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.