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.


macmillancontentscience/piecemaker documentation built on July 1, 2023, 8:12 p.m.