.space_regex_selector {piecemaker} | R Documentation |
Space Text by a Regex Selector
.space_regex_selector(text, regex_selector)
text |
Character; text to space. |
regex_selector |
A regular expression that selects the blocks of text you want to space. |
A character vector the same length as text, with spaces around the specified blocks.