Merge branch 'main' of github.com:lucaspalomodevelop/JSSTE

This commit is contained in:
lucaspalomodevelop 2022-10-27 19:22:14 +02:00
commit 6c386a0f74

View File

@ -8,6 +8,7 @@ let app = {};
app.__config = require("./config");
app.config = app.__config.getConfig();
//function to escape regex
function escapeRegExp(string) {
return string.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&");
}