title: Split regex to extract Strings of contiguous characters
body: <p>Is there a regex that would work with <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html#split%28java.lang.String%29" rel="nofollow noreferrer"><code>String.split()</code></a> to break a String into contiguous characters - ie split where the next character is different to the previous character?</p>
  
  <p>Here's the test case:</p>
  
  <pre><code>String regex = "your answer here";
  String[] parts = "aaabbcddeee".split(regex);
  System.out.println(Arrays.toString(parts));
  </code></pre>
  
  <p>Expected output:</p>
  
  <pre><code>[aaa, bb, c, dd, eee]
  </code></pre>
  
  <p>Although the test case has letters only as input, this is for clarity only; input characters may be <em>any</em> character.</p>
  
  <hr>
  
  <p>Please do not provide "work-arounds" involving loops or other techniques.</p>
  
  <p>The question is to find the right regex for the code as shown above - ie only using <code>split()</code> and no other methods calls. It is not a question about finding code that will "do the job".</p>