// this one could surely be optimized static bool flexMatchStartIC(L patterns, S s, Matches m) { for (S pat : patterns) if (flexMatchIC(pat + " *", s, m)) { m.m = toStringArray(concatLists(ll(pat), asList(m.m))); true; } false; }