diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-12-21 15:59:39 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-12-21 15:59:39 +0100 |
commit | b248aa4d3eb52c2bb7459848ff09619bb8830ed7 (patch) | |
tree | b40d2a4546fa42a0373127bf11cb06491a1d75f3 /streaming | |
parent | ba1569400322930ebe32693750b8e1abff395829 (diff) | |
parent | c4a429ed47e85a6bbf0d470a41cc2f64cf120c19 (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'streaming')
-rw-r--r-- | streaming/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/index.js b/streaming/index.js index cecb53ed5..45ea26bd6 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -725,7 +725,7 @@ const startWorker = async (workerId) => { Object.keys(req.cachedFilters).forEach((key) => { req.cachedFilters[key].regexp = new RegExp(req.cachedFilters[key].keywords.map(([keyword, whole_word]) => { - let expr = keyword.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');; + let expr = keyword.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); if (whole_word) { if (/^[\w]/.test(expr)) { |