match_placeholders: Match Expression Placeholders for String Interpolation

Description Usage Arguments Value

View source: R/stringterpolate.R

Description

Given a character string a set of expression placeholders are matched. They are of the form ${...} or optionally $[f]{...} where f is a valid format for sprintf.

Usage

1

Arguments

string

character: The string to be interpolated.

Value

list containing indices (regex match data) and matches, the string representations of matched expressions.


HTSSIP documentation built on Nov. 17, 2017, 7:22 a.m.