Skip to content

Commit 751d9e0

Browse files
committed
Loosen regex (too many false-negatives)
1 parent 89a74ad commit 751d9e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/EGO MAUL Enhancement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function setupMAULConfig() {
149149
title: "The regex to use to find Steam IDs in ban notes. Recommended to test in regex101.com first.\nFirst match is left spacing character, second is the SteamID, third is right spacing character.",
150150
type: "text",
151151
default:
152-
"(?:(^)(\\d{17})($|\\s|[^./\\d])|(\\s|[!\"#$%&'()*+,\\-.:;<=>?@[\\]^_`{|}~])(\\d{17})($|\\s|(?!\\1|[./\\d])))",
152+
"(^|\\s|[!\"#$%&'()*+,\\-.:;<=>?@[\\]^_`{|}~])(\\d{17})($|\\s|[!\"#$%&'()*+,\\-.:;<=>?@[\\]^_`{|}~])",
153153
},
154154
"spur-account": {
155155
label: "Use Spur Account Link",

0 commit comments

Comments
 (0)