[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] string-substitute
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] string-substitute |
Date: |
Fri, 4 Nov 2005 07:56:15 +0100 |
This change in string-substitute should be applied to regex.scm,
pcre.scm and pregexp.scm:
< (if (not (char=? #\\ c2))
---
> (if (and (not (char=? #\\ c2)) (char-numeric? c2))
I'll factor out the common code. Thanks for the bug report.
cheers,
felix
On 11/4/05, Daishi Kato <address@hidden> wrote:
> Hi,
>
> I was going to escape a single quote in a string,
> and got this:
>
> #;1> (string-substitute "'" "\\'" "abc'def")
> Error: (list-tail) out of range
> ((3 4))
> -9
>
> Anything wrong with regexp?
> Daishi
>
>
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users
>