add starred flag in Repeat