[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: [Chicken-bugs] #365: segfault caused by unit rege
From: |
Chicken Scheme |
Subject: |
[Chicken-janitors] Re: [Chicken-bugs] #365: segfault caused by unit regex |
Date: |
Mon, 26 Nov 2007 16:00:42 -0000 |
#365: segfault caused by unit regex
----------------------------------------------+-----------------------------
Reporter: Jon Strait <address@hidden> | Owner:
Type: defect | Status: new
Priority: critical | Component: core libraries
Version: 2.7 | Resolution:
Keywords: |
----------------------------------------------+-----------------------------
Comment (by kon):
(Kon - Here is my run):
$ csi
CHICKEN
Version 2.736 - macosx-unix-gnu-ppc [ symbolgc manyargs dload ptables
gchooks applyhook ]
(c)2000-2007 Felix L. Winkelmann compiled 2007-11-16 on Nikko.local
(Darwin)
; loading ./.csirc ...
#;1> (use regex utils)
; loading library regex ...
; loading library utils ...
#;2> (define infile (read-all "/Users/klovett/Desktop/spcre.txt"))
#;3> (define rx (regexp "(?m)^(\\S(\\S|\\s)+\\S)\\s+$"))
#;4> (string-match-positions rx infile)
((0 4664) (0 4663) (4661 4662))
#;5> (define mat (string-match-positions
(regexp "(?m)^(\\S(\\S|\\s)+\\S)\\s+$")
infile))
#;6> mat
((0 4664) (0 4663) (4661 4662))
--
Ticket URL: <http://trac.callcc.org/ticket/365#comment:3>
Chicken Scheme <http://www.call-with-current-continuation.org/>
The CHICKEN Scheme-to-C compiler