chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #687: irregex-replace returns #f when nothing was rep


From: Chicken Trac
Subject: [Chicken-janitors] #687: irregex-replace returns #f when nothing was replaced
Date: Tue, 06 Sep 2011 14:14:14 -0000

#687: irregex-replace returns #f when nothing was replaced
----------------------------+-----------------------------------------------
 Reporter:  syn             |       Owner:       
     Type:  enhancement     |      Status:  new  
 Priority:  major           |   Milestone:  4.8.0
Component:  core libraries  |     Version:  4.7.x
 Keywords:  irregex         |  
----------------------------+-----------------------------------------------
 irregex-replace currently returns {{{#f}}} when nothing was replaced
 instead of the original string. This is slightly inconvenient as well as
 inconsistent with {{{irregex-replace/all}}}'s behavior. Example:

 {{{
 #;6> (irregex-replace "foo" "bar" "baz")
 #f
 #;7> (irregex-replace/all "foo" "bar" "baz")
 "bar"
 }}}

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