Combines a vector of words into a string to be used for regex matching.
Source:R/cass_utils.R
cass_combine_into_pattern.Rd
Combines a vector of words into a string to be used for regex matching.
Arguments
- words
A character vector of words to be combined for string matching.
- full_words_only
Logical, defaults to TRUE. If TRUE, the correspondent words are matched only when they are a separate word.
Examples
words <- c("dogs", "cats", "horses")
cass_combine_into_pattern(words)
#> Error in cass_combine_into_pattern(words): could not find function "cass_combine_into_pattern"