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 { /**