sS dropTrailingBracketedCount(S s) { ret replaceAll(s, [[\s?\(\d+\)$]], ""); }