static int indexOfNTokenContainingIC(LS tok, S pattern) { for (int i = 0; i < l(tok); i += 2) if (cic(tok.get(i), pattern)) ret i; ret -1; }