mirror of
https://github.com/lucaspalomodevelop/JSSTE.git
synced 2026-03-13 07:19:37 +00:00
Merge branch 'main' of github.com:lucaspalomodevelop/JSSTE
This commit is contained in:
commit
6c386a0f74
@ -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, "\\$&");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user