chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] Re: #411: chicken-doc-admin + 4.6.2: Error: (irregex-


From: Chicken Trac
Subject: [Chicken-janitors] Re: #411: chicken-doc-admin + 4.6.2: Error: (irregex-match-start-index) not a valid index
Date: Mon, 18 Oct 2010 18:18:13 -0000

#411: chicken-doc-admin + 4.6.2: Error: (irregex-match-start-index) not a valid
index
-------------------------+--------------------------------------------------
  Reporter:  mario       |       Owner:  zbigniew                
      Type:  defect      |      Status:  new                     
  Priority:  major       |   Milestone:  4.7.0                   
 Component:  extensions  |     Version:  4.6.x                   
Resolution:              |    Keywords:  chicken-doc-admin, 4.6.2
-------------------------+--------------------------------------------------

Comment(by zbigniew):

 I don't believe so ckeen, because it works fine with regular submatches
 e.g. "(foo|bar|baz)".  It does not work when you have submatches that
 alternate "(foo)|(bar)|(baz)" because in irregex, this is modeled as three
 submatches with two being #f.  If irregex is changed to return #f instead
 of throw an error in this case (when the submatch index is within range
 but not present) this will automatically be fixed, otherwise the validity
 has to be tested for explicitly first.

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