UNPKG

@tunnel-cast/tunnel-cast

Version:

<br>

8 lines 312 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.escapeRegex = void 0; function escapeRegex(str) { return str === null || str === void 0 ? void 0 : str.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&"); } exports.escapeRegex = escapeRegex; //# sourceMappingURL=escape-regex.js.map