static Matches getMatches_brackets(S pat, S input) { new Matches m; ret match_brackets(pat, input, m) ? m : null; }