Given a string, an object of data, and a format expression to search for, returns a string with all elements that matched the search replaced with their matching value from the data object.
The first capture group identifies the key in the data object. Custom expressions follow String.replace semantics: use the g flag to replace every match, or omit it to replace only the first match. Zero-width matches are supported without repeating indefinitely.