This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
// Metro module 4026 (f4027).
import * as _toString2 from "./toString";
let c2304_2 = /[\\^$.*+?()[\]{}|]/g;
let c2304_3 = RegExp(c2304_2.source);
module.exports = function escapeRegExp(a0) {
const r5 = _toString2(a0);
return r5 ? c2304_3.test(r5) ? r5.replace(c2304_2, "\\$&") : r5 : r5;
};