code: private Map<Any2<Integer, String>, String> resolve_template_args_(Matcher matcher) {
          return template_.getArguments().stream()
                  .collect(Collectors.toMap(arg -> arg, arg -> arg.mapCombine(matcher::group, matcher::group)));
      }
docs: Convert a regexp match to a map of matcher arguments.