title: Extract overlapping matches using split
body: <p>How can I extract overlapping matches from an input using <code>String.split()</code>?</p>
  
  <p>For example, if trying to find matches to <code>"aba"</code>:</p>
  
  <pre><code>String input = "abababa";
  String[] parts = input.split(???);
  </code></pre>
  
  <p>Expected output:</p>
  
  <pre><code>[aba, aba, aba]
  </code></pre>