code: func ShortenFunctionName(f string) string {
  	for _, re := range []*regexp.Regexp{goRegExp, javaRegExp, cppRegExp} {
  		if matches := re.FindStringSubmatch(f); len(matches) >= 2 {
  			return strings.Join(matches[1:], "")
  		}
  	}
  	return f
  }
docs: // ShortenFunctionName returns a shortened version of a function's name.