GNU bug report logs - #78650
Guile 3.0.10: regexp-compile not exported by (ice-9 regex) module

Previous Next

Package: guile;

Reported by: Shalok Shalom <shalokshalom <at> protonmail.ch>

Date: Fri, 30 May 2025 23:55:06 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Full log


Message #16 received at 78650-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Tomas Volf <~@wolfsden.cz>
Cc: shalokshalom <at> protonmail.ch, 78650-done <at> debbugs.gnu.org
Subject: Re: bug#78650: Guile 3.0.10: regexp-compile not exported by (ice-9
 regex) module
Date: Tue, 03 Jun 2025 20:03:33 +0900
Hi,

Tomas Volf <~@wolfsden.cz> writes:

> Shalok Shalom via "Bug reports for GUILE, GNU's Ubiquitous Extension
> Language" <bug-guile <at> gnu.org> writes:
>
>> In the Guile 3.0.10 package provided by this distribution, the
>> standard procedure regexp-compile is not exported by the (ice-9
>> regex) module.
>> This causes an "Unbound variable: regexp-compile" error when
>> attempting to use this procedure after loading the module with
>> (use-modules (ice-9 regex)).
>>
>> I am using the Arch Linux distribution, and it does seem to leave the package alone.
>> Did you deprecate the procedure, or something?
>
> Was this procedure ever available?  Looking into git history gives
> nothing useful.  Why do you believe it should exist?  There is
> `make-regexp', maybe you want to use that one.

regexp-compile is not part of the standard Guile API, as far as I
know. It's not documented, and not exported from (ice-9 regex).  Maybe
Arch Linux does something extra to provide it?  Or maybe you are using
Racket there instead of Guile?

Closing.

-- 
Thanks,
Maxim




This bug report was last modified 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.