bug#48480: [a-Z] is not a valid regex range in 3.0.7
Marius Bakke <[email protected]>
| Newsgroups | gmane.lisp.guile.bugs |
|---|---|
| Message-ID | <[email protected]> |
Taylan Kammer <[email protected]> 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, 247 B)
-----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCYKKSUQ8cbWFyaXVzQGdu dS5vcmcACgkQ6HGLpZEUEHceEgEAnZwmXco8jKBN9Z6KMmLnEih8ukenGWMsQ05M eoOCMHABANtxXbAMBVKsWcbsO0M24a0cMYdmBLPxFZQL2Ri9neoJ =Vzw3 -----END PGP SIGNATURE-----