From c4bd4734a59e42696271ab3a19dcabb8cca658c7 Mon Sep 17 00:00:00 2001 From: CityFun <31820853+zhengkunwang223@users.noreply.github.com> Date: Thu, 13 Nov 2025 14:37:39 +0800 Subject: [PATCH] feat(log): optimize log display (#10941) --- frontend/src/components/log/custom-hightlight/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/log/custom-hightlight/index.vue b/frontend/src/components/log/custom-hightlight/index.vue index 65aec8d35..f8c8a71fd 100644 --- a/frontend/src/components/log/custom-hightlight/index.vue +++ b/frontend/src/components/log/custom-hightlight/index.vue @@ -124,7 +124,8 @@ const defaultRules: TokenRule[] = [ }, { type: 'ipv6', - pattern: /\b(?:[A-Fa-f0-9]{0,4}:){1,7}[A-Fa-f0-9]{0,4}\b|\b::[A-Fa-f0-9:]*\b|\b[A-Fa-f0-9:]*::\b/g, + pattern: + /(?