R/str-singleize.R

Defines functions str_singleize

Documented in str_singleize

#' Remove back-to-back duplicates of a pattern in a string.
#'
#' Copy of [strex::str_singleize()].
#'
#' @inheritParams match_arg
#'
#' @export
str_singleize <- function(...){
  strex::str_singleize(...)
}

#' @rdname str_singleize
#' @export
singleize <- str_singleize
rorynolan/filesstrings documentation built on Feb. 5, 2024, 6:01 p.m.