Skip to content

Commit

Permalink
Update client valid tag regex
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Apr 19, 2024
1 parent aab2d89 commit 686b533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Tags/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand Down

0 comments on commit 686b533

Please sign in to comment.