static bool jcontains(S s, S pat) { ret jfind(s, pat) >= 0; }