From 1ad525326f8b84fb7fade3710c649859b794d375 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sun, 14 Jul 2024 20:20:12 +0300 Subject: [PATCH] Simplify regex --- code.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code.user.js b/code.user.js index 7829b91..3e8430f 100644 --- a/code.user.js +++ b/code.user.js @@ -529,7 +529,7 @@ continue; } - var rgMatches = action.link.match( /GetGooValue\( *'?(?:[%a-z0-9]+)'? *, *'?(?:[%a-z0-9]+)'? *, *'?(?[0-9]+)'?/ ); + var rgMatches = action.link.match( /GetGooValue\( *'%contextid%', *'%assetid%', *'?(?[0-9]+)'?/ ); if (!rgMatches) { continue;