func isIncluded(f *models.Function, only *regexp.Regexp) bool { return only == nil || only.MatchString(f.Name) || only.MatchString(f.FullName()) }
func isExcluded(f *models.Function, excl *regexp.Regexp) bool { return excl != nil && (excl.MatchString(f.Name) || excl.MatchString(f.FullName())) }