title: Groovy split() method bug?
body: <p>The following Groovy snippet produces weird results to me :</p>
  
  <pre><code>def s = "123456"
  assert s.split("").size() == s.size()
  </code></pre>
  
  <p>Results in :</p>
  
  <pre><code>Assertion failed: 
  
  assert s.split("").size() == s.size()
         | |         |      |  | |
         | |         7      |  | 6
         | |                |  123456
         | |                false
         | [, 1, 2, 3, 4, 5, 6]
         123456
  </code></pre>
  
  <p>Is there something I've missed on the split() method behaviour or is this a real bug ?</p>