static bool regexpMatches(S pat, S s) { ret regexp(pat, s).matches(); }