.space_regex_selector {piecemaker}R 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.


[Package piecemaker version 1.0.2 Index]