bug-guile
[Top][All Lists]
Advanced

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

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


From: Taylan Kammer
Subject: bug#48480: [a-Z] is not a valid regex range in 3.0.7
Date: Mon, 17 May 2021 17:33:47 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

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?

-- 
Taylan





reply via email to

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