chicken-janitors
[Top][All Lists]
Advanced

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

Re: [Chicken-janitors] #1047: irregex extracts wrong submatches in some


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1047: irregex extracts wrong submatches in some situations
Date: Sat, 24 Aug 2013 23:42:46 -0000

#1047: irregex extracts wrong submatches in some situations
-----------------------------+----------------------------------------------
  Reporter:  kristianlm      |       Owner:  sjamaan
      Type:  defect          |      Status:  new    
  Priority:  critical        |   Milestone:  4.9.0  
 Component:  core libraries  |     Version:  4.8.x  
Resolution:                  |    Keywords:         
-----------------------------+----------------------------------------------

Comment(by sjamaan):

 First attempt at simplification:

 {{{
 #!scm
 (irregex-match-substring
  (irregex-match (irregex
                  '(seq (* nonl) (or "x" ($ "a")) "a"))
                 "xa")
  1)
 => "a" ;; Should return #f, since the first submatch doesn't match "x"
 }}}

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/1047#comment:1>
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]