Pike v8.1 release 6

Method Regexp.replace()


Method replace

string replace(string regexp, string data, string|function(string:string) transform)

Description

Calls Regexp.PCRE.Plain.replace in a temporary regexp object. Faster to type but slower to run...