static IntRange regexpFindRange(S pat, S s) { Matcher m = regexpMatcher(pat, s); ret m.find() ? IntRange(m.start(), m.end()) : null; }