if (min == 0) {
repeatResults.addAll(concatResults);
}
if (max > 0) {
for (SuccinctRegExMatch concatMatch: concatResults) {
<BUG>repeatResults = regexUnion(repeatResults, regexRepeatMinToMax(r, concatMatch, min, max));
</BUG>
}
}
return repeatResults;

if (min == 0) {
repeatResults.addAll(internalResults);
}
if (max > 0) {
for (SuccinctRegExMatch internalMatch: internalResults) {
repeatResults.addAll(regexRepeatMinToMax(r, internalMatch, min, max));
}
}
return repeatResults;
