HashSet<SuccinctRegExMatch> concatResults = regexConcat(r, rightMatch);
if (concatResults.isEmpty()) {
return repeatResults;
}
repeatResults.addAll(concatResults);
<BUG>for (SuccinctRegExMatch concatMatch : concatResults) {
HashSet<SuccinctRegExMatch> moreRepeats = regexRepeatOneOrMore(r, concatMatch);
repeatResults = regexUnion(repeatResults, moreRepeats);</BUG>
}
return repeatResults;

HashSet<SuccinctRegExMatch> concatResults = regexConcat(r, rightMatch);
if (concatResults.isEmpty()) {
return repeatResults;
