[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string-match error
From: |
Mark H Weaver |
Subject: |
Re: string-match error |
Date: |
Wed, 15 Jan 2014 16:28:18 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Ariel Rios <address@hidden> writes:
> Hello y'all,
>
> I am having problems using string-match. I have created a small script
> that calls string-match and I get:
>
> /home/ariel/console/mce/tests/./panda.scm:4:9: In procedure
> module-lookup: Unbound variable: string-match
As it says in the "Regular Expressions" section of the manual:
"Before using the described functions, you should load this
module by executing `(use-modules (ice-9 regex))'."
> If I start guile and then use string-match there is no problem:
> scheme@(guile-user)> (string-match "a" "a")
> $1 = #("a" (0 . 1))
It seems that the REPL starts with (ice-9 regex) loaded by default.
Regards,
Mark