When printing, correctly indent sub-regexps of repetitions.