expandReplace

Expand replacement string, handling $1, $&, $$ substitutions for regex matches.

Parameters

match

The regex cursor that produced the match (for group access).


Expand replacement for a simple string match.