チケット #2017 が更新されました。 (by Run Paint Run Run)


I don't object to this proposal, but note that it leads to unfortunate syntax when _sep_ is a `/`-delimited regex. For example:

>> 'f o o' / / /
=> ["f", "o", "o"]

Even adding the optional parentheses doesn't help readability. Short of simply recommending people don't write ugly code, a compromise could be for String#/ to only accept String separators. (Of course if this concern has already been addressed, then I apologise in advance for intruding).
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2017

----------------------------------------
http://redmine.ruby-lang.org