Skip to content

Commit

Permalink
feat: accept dash character in tags (-)
Browse files Browse the repository at this point in the history
  • Loading branch information
KernAttila committed Aug 26, 2023
1 parent 247327e commit a97b4c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public class JobSpec {
public JobSpec() {
}

public static final String NAME_REGEX = "^([\\w\\.]{3,})$";
public static final String NAME_REGEX = "^([\\w\\.-]{3,})$";

public static final Pattern NAME_PATTERN = Pattern.compile(NAME_REGEX);

Expand Down

0 comments on commit a97b4c0

Please sign in to comment.