From 6e9033226b08fa7ed707f38d9cad0dfa97aa23a3 Mon Sep 17 00:00:00 2001 From: Lionel Ringenbach Date: Wed, 11 Mar 2026 10:56:42 -0700 Subject: [PATCH] fix: regex breaking eslint rules --- .../MCPBuilder/MCPServerDialog/sections/BasicInfoSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/BasicInfoSection.tsx b/client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/BasicInfoSection.tsx index 456df19584..56f53ef9bd 100644 --- a/client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/BasicInfoSection.tsx +++ b/client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/BasicInfoSection.tsx @@ -52,7 +52,7 @@ export default function BasicInfoSection() { {...register('title', { required: localize('com_ui_field_required'), pattern: { - value: /^[\p{L}\p{N} ''\-]+$/u, + value: /^[-\p{L}\p{N} '']+$/u, message: localize('com_ui_mcp_title_invalid'), }, })}