{"ast":null,"code":"'use strict';\n\nmodule.exports = function (string) {\n if (typeof string !== 'string') {\n throw new TypeError('Expected a string');\n }\n return string.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&').replace(/-/g, '\\\\x2d');\n};","map":{"version":3,"names":["module","exports","string","TypeError","replace"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/@react-navigation/core/node_modules/escape-string-regexp/index.js"],"sourcesContent":["'use strict';\n\nmodule.exports = string => {\n\tif (typeof string !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\t// Escape characters with special meaning either inside or outside character sets.\n\t// Use a simple backslash escape when it’s always valid, and a \\unnnn escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar.\n\treturn string\n\t\t.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&')\n\t\t.replace(/-/g, '\\\\x2d');\n};\n"],"mappings":"AAAA,YAAY;;AAEZA,MAAM,CAACC,OAAO,GAAG,UAAAC,MAAM,EAAI;EAC1B,IAAI,OAAOA,MAAM,KAAK,QAAQ,EAAE;IAC/B,MAAM,IAAIC,SAAS,CAAC,mBAAmB,CAAC;EACzC;EAIA,OAAOD,MAAM,CACXE,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,CACtCA,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;AACzB,CAAC"},"metadata":{},"sourceType":"script"}