From acff6eb62f6fcc446f022a62a295aca4dd3ac259 Mon Sep 17 00:00:00 2001 From: 70CentsApple Date: Sat, 15 Jun 2024 15:37:18 +0800 Subject: [PATCH] feat: more default DisableOnMatch patterns --- src/main/resources/assets/chattools/default_config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/assets/chattools/default_config.json b/src/main/resources/assets/chattools/default_config.json index 9e5a689..c62e0a2 100644 --- a/src/main/resources/assets/chattools/default_config.json +++ b/src/main/resources/assets/chattools/default_config.json @@ -31,7 +31,8 @@ "formatter.Enabled": false, "formatter.List": [], "formatter.DisableOnMatchList": [ - "^\\d+$|^[.#%$/].*|\\ball\\b" + "^(\\+|-)?\\d+(\\.\\d+)?$|^[.#%$/].*|\\ball\\b", + "(^(\\[|<)i(tem)?(\\]|>)$)" ], "chatkeybindings.RepeatKey": "key.keyboard.unknown", "chatkeybindings.RepeatKeyModifier": "NONE",