mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 13:24:05 -06:00
9 lines
192 B
JavaScript
9 lines
192 B
JavaScript
"use strict";
|
|
|
|
var validRegExp = require("../../valid-reg-exp");
|
|
|
|
module.exports = function (string, replaceValue) {
|
|
validRegExp(this);
|
|
return String(string).replace(this, replaceValue);
|
|
};
|