Skip to content

Commit

Permalink
Merge pull request #234 from apriltuesday/fix-regex
Browse files Browse the repository at this point in the history
Fix regex for project links
  • Loading branch information
apriltuesday authored Jan 15, 2025
2 parents b0c8d36 + 008628d commit f88980e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eva_submission/etc/eva_project_validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Project:
Parent Project(s): { type: 'string', nullable: True}
Child Project(s): { type: 'string', nullable: True}
Peer Project(s): { type: 'string', nullable: True}
Link(s): { type: 'string', nullable: True, regex: '(^(ftp:|http:|file:|https:):\w+)|(\w+:\w+(:\w+)?)'}
Link(s): { type: 'string', nullable: True, regex: '(^(ftp:|http:|file:|https:)[^|]+\|.+)|(\w+:\w+(:\w+)?)'}
Hold Date: { type: 'date', nullable: True}
Collaborator(s): { type: 'string', nullable: True}
Strain: { type: 'string', nullable: True}
Expand Down

0 comments on commit f88980e

Please sign in to comment.