I see! I also haven't seen [a-Z] before, anywhere, I think. Thanks for
the explanation!

On 11.06.20 21:09, to...@tuxteam.de wrote:
> On Thu, Jun 11, 2020 at 08:59:35PM +0200, Zelphir Kaltstahl wrote:
>> Hi Guile users!
>>
>> I was about to follow the guile-hall tutorial posted on the list today,
>> but unfortunately, I get an error the first time I need to input a
>> guile-hall command:
> [...]
>
>> In unknown file:
>>            0 (make-regexp "^-[a-Z]*h[a-Z]*$|^--help$")
>> ERROR: In procedure make-regexp:
>> In procedure make-regexp: Invalid range end
> I think Guile relies on the system lib for regexps. Not all take [a-Z] as
> a valid range (FWIW my plain "grep" on some Debian GNU/Linux complains
> also about an "invalid range end".
>
> I think the longer version [A-Za-z] is safer.
>
> Cheers
> -- t

Reply via email to