code: func (ns *Namespace) ReplaceRE(pattern, repl, s interface{}) (_ string, err error) {
  	sp, err := cast.ToStringE(pattern)
  	if err != nil {
  		return
  	}
  
  	sr, err := cast.ToStringE(repl)
  	if err != nil {
  		return
  	}
  
  	ss, err := cast.ToStringE(s)
  	if err != nil {
  		return
  	}
  
  	re, err := reCache.Get(sp)
  	if err != nil {
  		return "", err
  	}
  
  	return re.ReplaceAllString(ss, sr), nil
  }
docs: // ReplaceRE returns a copy of s, replacing all matches of the regular
  // expression pattern with the replacement text repl.