[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] irregex-replace return value
From: |
Michele La Monaca |
Subject: |
[Chicken-users] irregex-replace return value |
Date: |
Fri, 28 Feb 2014 23:32:28 +0100 |
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.
Regards,
Michele
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-users] irregex-replace return value,
Michele La Monaca <=