Support nested repetitions