I’ve been banging my head against the wall on trying to handle disambiguation in a more standard way. But my current issue is that $rreplace does not seem to handle using a function such as $upper. Here is a stripped down version of what I’m trying to do:
$set(_firstLetter,\\b\(\\w\)) $set(_upperLetter,$upper(\\1)) $set(album,%album% \($rreplace(%_releasecomment%,%_firstLetter%,%_upperLetter%)\))
No matter how many times I’ve tried to tweak this, it never returns the uppercase value of the first letter. If I replace %_upperLetter% with something like TEST, it will return TESTeluxe TESTdition. So my regex is at least capturing the right stuff.