static S dropGlobalID(S s) { Matcher m = regexpMatcher("\\[id: [a-z]{" + globalIDLength() + "}\\]$", s); ret m.find() ? dropSuffix(" ", takeFirst(regexpMatcherIndex(m), s)) : s; }