sS simpleRewriteWithDollarVars(S inPat, S outPat, S s) { SS map = matchDollarVarsIC_withBrackets(inPat, s); ret map == null ? null : replaceVars_optRound2(outPat, map); }