chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #636: irregex behaves different on some machines


From: Chicken Trac
Subject: [Chicken-janitors] #636: irregex behaves different on some machines
Date: Fri, 08 Jul 2011 20:20:32 -0000

#636: irregex behaves different on some machines
----------------------------+-----------------------------------------------
 Reporter:  sjamaan         |       Owner:       
     Type:  defect          |      Status:  new  
 Priority:  critical        |   Milestone:  4.8.0
Component:  core libraries  |     Version:  4.7.x
 Keywords:  irregex         |  
----------------------------+-----------------------------------------------
 We haven't figured out the cause or anything else yet, but on my NetBSD
 box, I get the following (expected and correct output):

 {{{
 #;1> (use irregex)
 ; loading library irregex ...
 #;2> (irregex-match
         '(seq (* white) (submatch (+ print))
               (* white) ":" (+ white)
               (submatch (+ print)) (* white))
      "io:event-dispatch")
 #f
 }}}

 On call-cc.org (and on another of Mario's machines which is x86-64 Linux)
 we get this:

 {{{
 #;1> (use irregex)
 ; loading library irregex ...
 #;2> #;2> (irregex-match
         '(seq (* white) (submatch (+ print))
               (* white) ":" (+ white)
               (submatch (+ print)) (* white))
      "io:event-dispatch")
 #<regexp-match (2 submatches)>
 #;3> (irregex-match-substring #2 1)
 "i"
 #;4> (irregex-match-substring #2 2)
 #f
 }}}

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/636>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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