Match Expression Placeholders for String Interpolation

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.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.