{"ast":null,"code":"/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\n\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nexport default cloneRegExp;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_cloneRegExp.js"],"names":["reFlags","cloneRegExp","regexp","result","constructor","source","exec","lastIndex"],"mappings":"AAAA;AACA,IAAIA,OAAO,GAAG,MAAd;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,WAAT,CAAqBC,MAArB,EAA6B;AAC3B,MAAIC,MAAM,GAAG,IAAID,MAAM,CAACE,WAAX,CAAuBF,MAAM,CAACG,MAA9B,EAAsCL,OAAO,CAACM,IAAR,CAAaJ,MAAb,CAAtC,CAAb;AACAC,EAAAA,MAAM,CAACI,SAAP,GAAmBL,MAAM,CAACK,SAA1B;AACA,SAAOJ,MAAP;AACD;;AAED,eAAeF,WAAf","sourcesContent":["/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nexport default cloneRegExp;\n"]},"metadata":{},"sourceType":"module"}