9 lines
218 B
JavaScript
9 lines
218 B
JavaScript
// Metro module 6762 (f6763).
|
|
let c4346_0 = /[|\\{}()[\]^$+*?.-]/g;
|
|
module.exports = (a0) => {
|
|
if (typeof a0 !== "string") {
|
|
throw new TypeError("Expected a string");
|
|
}
|
|
return a0.replace(c4346_0, "\\$&");
|
|
};
|