[Chicken-users] irregex bug?
http://paste.lisp.org/display/79023 $ csi CHICKEN (c)2008-2009 The Chicken Team (c)2000-2007 Felix L. Winkelmann Version 4.0.0 - SVN rev. 13887 linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables applyhook ] compiled 2009-04-14 on chew-z (Linux) #;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 -- Anthony Carrico signature.asc Description: OpenPGP digital signature ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] irregex bug?
Hi, Anthony Carrico acarr...@memebeam.org 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 ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users