decord/source/__polyfill/13xxx/module_13047.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

10 lines
265 B
JavaScript

// Module ID: 13047
// Function ID: 13048
// Dependencies: []
// Exports: escapeStringForRegex
// Module 13047
export const escapeStringForRegex = function escapeStringForRegex(str) {
return str.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
};