code: func (loc *Location) matchesName(re *regexp.Regexp) bool {
  	for _, ln := range loc.Line {
  		if fn := ln.Function; fn != nil {
  			if re.MatchString(fn.Name) {
  				return true
  			}
  			if re.MatchString(fn.Filename) {
  				return true
  			}
  		}
  	}
  	return false
  }
docs: // matchesName returns whether the function name or file in the
  // location matches the regular expression.