Skip to content

Commit

Permalink
Simplify regex
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Jul 14, 2024
1 parent 097be50 commit 1ad5253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@
continue;
}

var rgMatches = action.link.match( /GetGooValue\( *'?(?:[%a-z0-9]+)'? *, *'?(?:[%a-z0-9]+)'? *, *'?(?<appid>[0-9]+)'?/ );
var rgMatches = action.link.match( /GetGooValue\( *'%contextid%', *'%assetid%', *'?(?<appid>[0-9]+)'?/ );

if (!rgMatches) {
continue;
Expand Down

0 comments on commit 1ad5253

Please sign in to comment.