Skip to content

Commit

Permalink
Allow for * at the end of identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
KochTobi committed Jul 23, 2024
1 parent c98ce85 commit b0b4039
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public List<String> getIds() {
: ids;
// we want to prevent matching to something shorter than a project code.
List<String> toShortSampleIds = identifiers.stream()
.filter(it -> !it.matches("^\\w{5,}"))
.filter(it -> !it.matches("^\\w{5,}\\*?"))
.toList();
if (!toShortSampleIds.isEmpty()) {
throw new ToShortSampleIdsException(toShortSampleIds);
Expand Down

0 comments on commit b0b4039

Please sign in to comment.