From bf153900c355fb68e91459e613970192e654b23e Mon Sep 17 00:00:00 2001 From: Thomas Young <35073576+DrakeRichards@users.noreply.github.com> Date: Tue, 25 Apr 2023 17:27:07 -0500 Subject: [PATCH] Further refined regexp pattern --- javascript/notification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/notification.js b/javascript/notification.js index e649e4ad8..3b68ffe53 100644 --- a/javascript/notification.js +++ b/javascript/notification.js @@ -4,7 +4,7 @@ let lastHeadImg = null; let notificationButton = null; -const regExpTempImage = /\/tmp.*\.png$/g; +const regExpTempImage = /(?<=\/|\\)tmp[\w\d]{8}\.png$/gm; onUiUpdate(function(){ if(notificationButton == null){