From: Yusuke ENDOH Date: 2011-07-31T01:32:52+09:00 Subject: [ruby-core:38612] Re: [Ruby 1.9 - Feature #5120][Open] String#split needs to be logical 2011/7/31 Yusuke ENDOH : > Hello, > > 2011/7/31 Alexey Muranov : >> �str1.split(str2) returns a maximal array of non-empty substrings of str1 which can be concatenated with copies of str2 to form str1. > > So, what does "aab".split('a') return? > I think that only ["aab"] meets the condition. > But it is also surprising to me. Oops. It should be ["a", "b"]. But it is very difficult (to me) behavior. -- Yusuke Endoh