Well, I think it is possible to merge `splitWhitespace` into `split` like this:

  1. `s.split()` splits on whitespace (the way `splitWhitespace` does)
  2. all other forms of `split` work like they do now. To get the current 
default behaviour of `split` one should use `s.split(Whitespace)`



In other words: 
    
    
    echo "  a couple of \t words ".split()
    # @[a, couple, of, words]
    echo "  a couple of \t words ".split(Whitespace)
    # @[, , a, couple, of, , , words, ]
    

This is easy to implement, but as far as I understand that would constitute a 
_breaking change_...

Reply via email to