HashSet<SuccinctRegExMatch> internalResults = computeSuccinctly(r);
if (internalResults.isEmpty()) {
return repeatResults;
}
repeatResults.addAll(internalResults);
<BUG>for (SuccinctRegExMatch internalMatch: internalResults) {
HashSet<SuccinctRegExMatch> longer = regexRepeatOneOrMore(r, internalMatch);
repeatResults = regexUnion(repeatResults, longer);</BUG>
}
return repeatResults;

HashSet<SuccinctRegExMatch> internalResults = computeSuccinctly(r);
if (internalResults.isEmpty()) {
return repeatResults;
