fix: misc

This commit is contained in:
Ibrahima G. Coulibaly
2025-03-09 04:27:41 +00:00
parent 372cb95d14
commit d01e2f0f2f
4 changed files with 93 additions and 101 deletions

View File

@@ -34,7 +34,7 @@ function replaceTextWithRegexp(
return text.replace(new RegExp(searchRegexp, 'g'), replaceValue);
}
} catch (err) {
console.error('Invalid regular expression:', err);
// console.error('Invalid regular expression:', err);
return text;
}
}