A regular expression is a flexible pattern notation for expressing string operations, especially for splitting text into tokens such as characters or words. section 14.2
Keep words, punctuation, and non-whitespace elements
In stringr, split text at word boundaries with skip_word_none = FALSE, then use the regex \\S to retain elements that are not whitespace. The result can include words and punctuation as separate tokens. section 14.2


























