View source: R/str_detect_quote.R
str_detect_one_quote_pattern | R Documentation |
Detect a quote pattern in text
str_detect_one_quote_pattern(x, pattern, .verbose = FALSE)
x |
character vector |
pattern |
a list with elements
"s" (unit-length character specifying regex to match quote start)
, "e" (unit-length character specifying regex to match quote end)
, and "min_words" unit-length integer specifying the min. No. words to count a match as a quote)
See |
.verbose |
logical. verbosity |
A list with elements
logical indicating whether or not x
contains a quote that matches the quote pattern (pattern
)
non-negative integer, the number of quotes detected
non-negative integer, the number of words contained in the quote
non-negative integer, the number of characters contained in the quote
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.