http://qs321.pair.com?node_id=740547


in reply to Special cases make special community

The "split" special case I always think of is its behaviour with an empty regex, which is completely different to the regular behaviour of an empty regex, which is in turn a special case that does something I would never have guessed in a million years unless I'd read the documentation. :)

(I find it quite useful in split, but I don't think I've ever seen it used otherwise.)