// package
type: "module"
// preferences
// replacements (1)
This package is no longer necessary. You can create a copy of a regular expression using the `RegExp` constructor.
// example
const copyRegExp = (regexp) => new RegExp(regexp);