From 6884ffa67d1ecc61980b844e8684fbf6b22d0145 Mon Sep 17 00:00:00 2001 From: Zickles <76439587+Zickles@users.noreply.github.com> Date: Mon, 22 Jul 2024 00:18:36 -0400 Subject: [PATCH] fix(pm): regex --- regex.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regex.json b/regex.json index dd198db..3c4d9e1 100644 --- a/regex.json +++ b/regex.json @@ -65,8 +65,8 @@ "chatRestylerFriendPattern": "^((?:\u00a7r)?\u00a7\\w)(Friend >)", "chatRestylerOfficerPattern": "^((?:\u00a7r)?\u00a7\\w)(Officer >)", "chatRestylerStatusPattern": "^(?(?:\u00a7aFriend|\u00a7a\u00a7aF|\u00a72Guild|\u00a72\u00a72G)) > (\u00a7r|\u00a7r\u00a7r){1,2}(?\u00a7[\\da-f]\\w{1,16}) \u00a7r\u00a7e(?(?:joined|left))\\.\u00a7r$", - "chatRestylerPrivateMessageToPattern": "^((?:\u00a7r)?\u00a7\\w)(To)", - "chatRestylerPrivateMessageFromPattern": "^((?:\u00a7r)?\u00a7\\w)(From)", + "chatRestylerPrivateMessageToPattern": "^((?:\u00a7r)?\u00a7\\w)(To)([^:]*):(.*)", + "chatRestylerPrivateMessageFromPattern": "^((?:\u00a7r)?\u00a7\\w)(From)([^:]*):(.*)", "autoChatSwapperPartyStatus": "^(?:You have been kicked from the party by (?:\\[.+] )?\\w{1,16}|(?:\\[.+] )?\\w{1,16} has disbanded the party!|You left the party\\.|You are not in a party\\.|The party was disbanded because (?:all invites expired and the party was empty|the party leader disconnected)\\.)$", "autoChatSwapperChannelSwap": "^You are now in the (?ALL|GUILD|OFFICER) channel$", "autoChatSwapperAlreadyInChannel": "You're already in this channel!",