Extracted from Pike v8.0 release 358 as of 2016-11-23.
   

Method Regexp.SimpleRegexp()->replace()


Method replace

string replace(string in, string|function(string:string) transform)