From 686b5336fe2c57ce9c13371e01ee559d4a5e6f71 Mon Sep 17 00:00:00 2001 From: John Davis Date: Thu, 18 Apr 2024 21:45:39 -0400 Subject: [PATCH] Update client valid tag regex --- client/src/components/Tags/model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Tags/model.js b/client/src/components/Tags/model.js index ced4f9896553..43dbc05d74ee 100644 --- a/client/src/components/Tags/model.js +++ b/client/src/components/Tags/model.js @@ -7,7 +7,7 @@ import { keyedColorScheme } from "utils/color"; // Valid tag regex. The basic format here is a tag name with optional subtags // separated by a period, and then an optional value after a colon. -export const VALID_TAG_RE = /^([^\s.:])+(.[^\s.:]+)*(:[^\s.:]+)?$/; +export const VALID_TAG_RE = /^([^\s.:])+(\.[^\s.:]+)*(:\S+)?$/; export class TagModel { /**