[racket-dev] `string-split'
>
> 4. Related to Q3: what does "xy" as that argument mean exactly?
>> a. #rx"[xy]"
>> b. #rx"[xy]+"
>> c. #rx"xy"
>> d. #rx"(?:xy)+"
>>
>
> Good question. d. would be the simplest case for newbies, but b. might be
> more useful.
>
It would make more sense that a string really is a string, not a set of
characters.
Without going as far as srfi-14, a set could be a list of strings or
characters, but maybe this is not needed.
Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20120419/0493f97a/attachment-0001.html>