On 5/15/05, Christian Jaeger <[EMAIL PROTECTED]> wrote:
> Hello
> 
> Is this a bug?:
> 
>   (string-match-positions ".*needle.*" "hay needle stack" 2) -> #f
> 
> Shouldn't it be giving ((2 16)) ?
> This is Version 1, Build 89, on Debian.

You're using PCRE, right? The "...-match-..." functions wrap the regular
expression in "^...$", which might be the source of the problem
(string-search-positions seems to work for this example). I will dig
into this when I find the time.

> 
> And is it on purpose that string-substitute* does not interpret
> \NUM references in substitution texts, unlike string-substitute?
> (If so, that should maybe be documented)
> 

I'll document this. Thanks.


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to