Add dot repeat. Ref #5