default: {
throw new RuntimeException("Invalid node in succinct regex parse tree.");
}
}
return results;
<BUG>}
private HashSet<SuccinctRegExMatch> regexUnion(HashSet<SuccinctRegExMatch> first,
HashSet<SuccinctRegExMatch> second) {
HashSet<SuccinctRegExMatch> unionResults = new HashSet<>();
unionResults.addAll(first);
unionResults.addAll(second);
return unionResults;</BUG>
}

default: {
throw new RuntimeException("Invalid node in succinct regex parse tree.");
}
}
return results;
}
