static PosNegMatrix posNegMatrixForRegexpIC(S regexp, Cl pos, Cl neg) { PosNegMatrix matrix = posNegMatrixOfLists(); for (S s : pos) (containsRegexpIC(s, regexp) ? matrix.pos : matrix.falseNeg).add(s); for (S s : neg) (containsRegexpIC(s, regexp) ? matrix.falsePos : matrix.neg).add(s); ret matrix; }