mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 06:33:22 +08:00
add missing backslash
This commit is contained in:
parent
bc2b45224b
commit
a667e964a1
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ async function filter(language) {
|
|||
let regincl = new RegExp(filterin, "i");
|
||||
let filterout = $("#wordFilterPopup .wordExcludeInput").val();
|
||||
filterout = Misc.escapeRegExp(filterout.trim());
|
||||
filterout = filterout.replace(/s+/gi, "|");
|
||||
filterout = filterout.replace(/\s+/gi, "|");
|
||||
let regexcl = new RegExp(filterout, "i");
|
||||
let filteredWords = [];
|
||||
let languageWordList = await Misc.getLanguage(language);
|
||||
|
|
Loading…
Reference in a new issue