Added functions buffer-repeat-replace-cons/buffer-repeat-replace-string and command set-repeat-replace-to-string