chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] Re: #281: promote irregex to full unit


From: Chicken Trac
Subject: [Chicken-janitors] Re: #281: promote irregex to full unit
Date: Sun, 01 Aug 2010 20:45:54 -0000

#281: promote irregex to full unit
-----------------------------------------------------------------------+----
 Reporter:  zbigniew                                                   |       
Owner:  felix   
     Type:  enhancement                                                |      
Status:  accepted
 Priority:  major                                                      |   
Milestone:          
Component:  core libraries                                             |     
Version:  4.5.x   
 Keywords:  regex irregex movin-on-up to-the-east-side deluxe-apt sky  |  
-----------------------------------------------------------------------+----

Comment(by sjamaan):

 Here's another patch.  Alex said the irregex-match-valid-index? procedure
 ought to be exported, so that's what this patch does.

 I also added named submatch checking to irregex-match-valid-index?. By
 doing this, things like irregex-match-start-index now correctly accept an
 index-or-name instead of just a numeric index, so their behaviour now
 matches what the documentation says.

 It's also slightly more consistent because the index is now optional for
 all six irregex-match-{start,end}-{index,chunk} procedures, returning the
 full match (index 0) by default.

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/281#comment:27>
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]