diff --git a/R/count.R b/R/count.R index 0a47507d..b193decb 100644 --- a/R/count.R +++ b/R/count.R @@ -16,7 +16,7 @@ #' respects character matching rules for the specified locale. #' #' Match character, word, line and sentence boundaries with -#' [boundary()]. The empty string, `""``, is equivalent to +#' [boundary()]. The empty string, `""`, is equivalent to #' `boundary("character")`. #' @return An integer vector the same length as `string`/`pattern`. #' @seealso [stringi::stri_count()] which this function wraps. diff --git a/man/str_count.Rd b/man/str_count.Rd index 06c6d01e..3b83028d 100644 --- a/man/str_count.Rd +++ b/man/str_count.Rd @@ -22,7 +22,8 @@ for matching human text, you'll want \code{\link[=coll]{coll()}} which respects character matching rules for the specified locale. Match character, word, line and sentence boundaries with -\code{\link[=boundary]{boundary()}}. The empty string, \verb{""``, is equivalent to }boundary("character")`.} +\code{\link[=boundary]{boundary()}}. The empty string, \code{""}, is equivalent to +\code{boundary("character")}.} } \value{ An integer vector the same length as \code{string}/\code{pattern}. diff --git a/man/str_extract.Rd b/man/str_extract.Rd index 1c48856c..8006e40b 100644 --- a/man/str_extract.Rd +++ b/man/str_extract.Rd @@ -25,7 +25,8 @@ for matching human text, you'll want \code{\link[=coll]{coll()}} which respects character matching rules for the specified locale. Match character, word, line and sentence boundaries with -\code{\link[=boundary]{boundary()}}. The empty string, \verb{""``, is equivalent to }boundary("character")`.} +\code{\link[=boundary]{boundary()}}. The empty string, \code{""}, is equivalent to +\code{boundary("character")}.} \item{group}{If supplied, instead of returning the complete match, will return the matched text from the specified capturing group.} diff --git a/man/str_locate.Rd b/man/str_locate.Rd index 862be894..a19dfb4f 100644 --- a/man/str_locate.Rd +++ b/man/str_locate.Rd @@ -25,7 +25,8 @@ for matching human text, you'll want \code{\link[=coll]{coll()}} which respects character matching rules for the specified locale. Match character, word, line and sentence boundaries with -\code{\link[=boundary]{boundary()}}. The empty string, \verb{""``, is equivalent to }boundary("character")`.} +\code{\link[=boundary]{boundary()}}. The empty string, \code{""}, is equivalent to +\code{boundary("character")}.} } \value{ \itemize{ diff --git a/man/str_split.Rd b/man/str_split.Rd index 5d056a90..11352d59 100644 --- a/man/str_split.Rd +++ b/man/str_split.Rd @@ -31,7 +31,8 @@ for matching human text, you'll want \code{\link[=coll]{coll()}} which respects character matching rules for the specified locale. Match character, word, line and sentence boundaries with -\code{\link[=boundary]{boundary()}}. The empty string, \verb{""``, is equivalent to }boundary("character")`.} +\code{\link[=boundary]{boundary()}}. The empty string, \code{""}, is equivalent to +\code{boundary("character")}.} \item{n}{Maximum number of pieces to return. Default (Inf) uses all possible split positions.