about summary refs log tree commit diff
path: root/streaming/index.js
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-12-21 16:43:33 +0100
committerGitHub <noreply@github.com>2022-12-21 16:43:33 +0100
commit2f2ef1d4fedd74fb9659ec3ab4f941fd959a1166 (patch)
treeb40d2a4546fa42a0373127bf11cb06491a1d75f3 /streaming/index.js
parentba1569400322930ebe32693750b8e1abff395829 (diff)
parentb248aa4d3eb52c2bb7459848ff09619bb8830ed7 (diff)
Merge pull request #2029 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'streaming/index.js')
-rw-r--r--streaming/index.js2
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)) {