chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] irregex bug?


From: Alex Shinn
Subject: Re: [Chicken-users] irregex bug?
Date: Thu, 23 Apr 2009 10:02:26 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin)

Hi,

Anthony Carrico <address@hidden> writes:

> #;1> (require-library regex)
> ; loading library regex ...
> #;2> (import irregex)
> ; loading /usr/local/lib/chicken/4/irregex.import.so ...
> #;3> (define rx (sre->irregex '(: bos (submatch (+ ("0123456789"))) eos)))
> #;4> (irregex-match rx "0")
> #(*irregex-match-tag* "0" () 0 1 0 1)
> #;5> (irregex-match rx "a")
> #f
> #;6> (irregex-match-data? (irregex-match rx "0"))
> #f
> #;7>

Thanks for catching this.  It had already been fixed
upstream, so I've pushed the fix to the chicken trunk.

-- 
Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]