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

if (concatResults.isEmpty()) {
return repeatResults;
}
repeatResults.addAll(concatResults);
for (SuccinctRegExMatch concatMatch : concatResults) {
repeatResults.addAll(regexRepeatOneOrMore(r, concatMatch));
}
return repeatResults;
}
