unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Taylan Kammer <taylan.kammer@gmail.com>
To: Marius Bakke <marius@gnu.org>, 48480@debbugs.gnu.org
Subject: bug#48480: [a-Z] is not a valid regex range in 3.0.7
Date: Mon, 17 May 2021 17:33:47 +0200	[thread overview]
Message-ID: <440824ad-07a1-9204-5435-5e34ac387abe@gmail.com> (raw)
In-Reply-To: <87zgwtgzwm.fsf@gnu.org>

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	other threads:[~2021-05-17 15:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-17 15:09 bug#48480: [a-Z] is not a valid regex range in 3.0.7 Marius Bakke
2021-05-17 15:33 ` Taylan Kammer [this message]
2021-05-17 15:57   ` Marius Bakke
2021-05-17 15:39 ` dsmich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=440824ad-07a1-9204-5435-5e34ac387abe@gmail.com \
    --to=taylan.kammer@gmail.com \
    --cc=48480@debbugs.gnu.org \
    --cc=marius@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).