decord/source/__polyfill/13xxx/module_13013.js
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

10 lines
265 B
JavaScript

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