Add regex support for string.prototype.replace

Related to #99