chore(react/collections): title highlighting in list title

This commit is contained in:
Elian Doran
2025-08-30 18:48:34 +03:00
parent f92948d65c
commit 68dff71512
8 changed files with 96 additions and 70 deletions

View File

@@ -448,7 +448,7 @@ function sleep(time_ms: number) {
});
}
function escapeRegExp(str: string) {
export function escapeRegExp(str: string) {
return str.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1");
}