"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
var reFlags = /\w*$/;
function cloneRegExp(regexp) {
  var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
  result.lastIndex = regexp.lastIndex;
  return result;
}
var _cloneRegExp = cloneRegExp;
exports._cloneRegExp = _cloneRegExp;
