aliaspooryorik
REReplace and REReplaceNoCase both seems to support the callback feature from Replace and ReplaceNoCase (added in 2021) but seems to be completely undocumented as to what the parameters are to the callback (there is an example on REReplace page but no explanation). ReReplaceNoCase reference doesn't mention it at all and even the example is for ReReplace not ReReplaceNoCasealiaspooryorik
transform parameter is a string in replace, but is a struct for rereplace, so would be nice to document this fully.