code: func inspectRegexpToString(r *syntax.Regexp) string {
  	var buffer bytes.Buffer
  	inspectRegexpToWriter(&buffer, r)
  	return buffer.String()
  }
docs: // inspectRegexpToString returns a string describing a regular expression.