|
From: | Alex Shinn |
Subject: | Re: [Chicken-users] irregex-replace return value |
Date: | Sun, 2 Mar 2014 17:40:02 +0900 |
Hi,
I've noticed that irregex-replace returns the original string
if no replacement takes place. I think its a very poor choice.
Whether or not a replacement was actually made can be an important
piece of information which is lost returning the original string.
The "correct" return value should be #f.
Ditto irregex-replace/all.
[Prev in Thread] | Current Thread | [Next in Thread] |