static bool safeRegexpFind(Pattern pat, S s) { ret pat.matcher(InterruptibleString(s)).find(); }