Optional
keyDefines middle part of the regular expression to lookup key values,
the default is [\\p{Letter}\\p{Mark}\\d_.$-]+
.
Optional
keyDefines regex flags, like g and u or i.
The default is gu
Optional
keyDefines postfix of the regular expression to lookup key values, the default is \\}
.
Optional
keyDefines prefix of the regular expression to lookup key values, the default is \\$\\{
.
Optional
valuecustom function to lookup values for keys from the second parameter provided to the created replacer function.
Optional
valueDefines the value used if the key lookup provides no value, by default this property is undefined, which means that the input key expression is kept.
Replacement Options