cloneRegExp
Clones a regular expression.
- Use
new RegExp()
,RegExp.prototype.source
andRegExp.prototype.flags
to clone the given regular expression.
Clones a regular expression.
new RegExp()
, RegExp.prototype.source
and RegExp.prototype.flags
to clone the given regular expression.