[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] irregex bug?
From: |
Anthony Carrico |
Subject: |
[Chicken-users] irregex bug? |
Date: |
Wed, 22 Apr 2009 14:27:18 -0400 |
User-agent: |
Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
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] irregex bug?,
Anthony Carrico <=