static L ocr_joinGroups2(L l) { new L l2; for (S s : l) l2.add(s.startsWith("[") && s.endsWith("]") ? substring(s, 1, l(s)-1) : s); ret l2; }