Hi,
In message "String#split converts string args to regexes -- ?"
on 02/07/09, David Alan Black <dblack / candle.superlink.net> writes:
|Any insights on why #split does this? I found it quite surprising
|when I discovered it, and I don't know of anywhere where it's
|documented as working this way.
Insights? It's inherited from Perl. Try:
% perl -le 'print join(":", split(".b", "abcabc"))'
:c:c
But if it turns out to be a bad inheritance (and I admit I'm starting
to feeling so), I'm open to a new RCR.
matz.