dot-space_regex_selector: Space Text by a Regex Selector

.space_regex_selectorR Documentation

Space Text by a Regex Selector

Description

Space Text by a Regex Selector

Usage

.space_regex_selector(text, regex_selector)

Arguments

text

Character; text to space.

regex_selector

A regular expression that selects the blocks of text you want to space.

Value

A character vector the same length as text, with spaces around the specified blocks.


piecemaker documentation built on June 7, 2023, 5:55 p.m.