Issue #12108 has been reported by Tsuyoshi Sawada.

----------------------------------------
Bug #12108: Splitting an empty string returns an empty array
https://bugs.ruby-lang.org/issues/12108

* Author: Tsuyoshi Sawada
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
Splitting an empty string returns an empty array.

~~~RUBY
"".split("") # => []
"".split("a") # => []
"".split(//) # => []
"".split(/a/) # => []
~~~



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>