title: Regex in java: find all the groups (?=(ab)|(abc)) in abcdef
body: <p>If I run this Regex in Java I'll receive <code>{ab}</code>, but I would like to receive <code>{ab, abc}</code>. It's similar to my <a href="https://stackoverflow.com/questions/28651182/regex-in-java-find-all-overlapping-variants-abbcdef-in-abcdef%20,">question</a> </p>
  
  <p>But I want to find similar groups as well.</p>