Files
discord-decomp/_bundle/Module1525.js
T
2026-11-01 12:12:55 +02:00

8 lines
217 B
JavaScript

// Metro module 1525 (f1526).
module.exports = (a0) => {
if (typeof a0 !== "string") {
throw new TypeError("Expected a string");
}
return a0.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
};