From: Marius Bakke <marius@gnu.org>
To: Taylan Kammer <taylan.kammer@gmail.com>, 48480-done@debbugs.gnu.org
Subject: bug#48480: [a-Z] is not a valid regex range in 3.0.7
Date: Mon, 17 May 2021 17:57:05 +0200 [thread overview]
Message-ID: <87wnrxgxpq.fsf@gnu.org> (raw)
In-Reply-To: <440824ad-07a1-9204-5435-5e34ac387abe@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 618 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
next prev parent reply other threads:[~2021-05-17 15:57 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
2021-05-17 15:57 ` Marius Bakke [this message]
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=87wnrxgxpq.fsf@gnu.org \
--to=marius@gnu.org \
--cc=48480-done@debbugs.gnu.org \
--cc=taylan.kammer@gmail.com \
/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).