powered by
Converts a gsub-style replacement strings to those which can be used in stri_replace. In particular, $ becomes \$ and \1 becomes $1.
gsub
stri_replace
$
\$
\1
$1
stri_replace_rstr(x)
Returns a character vector.
character vector
Marek Gagolewski and other contributors
The official online manual of stringi at https://stringi.gagolewski.com/
Other search_replace: about_search, stri_replace_all(), stri_trim_both()
about_search
stri_replace_all()
stri_trim_both()