Skip to content

Commit

Permalink
Use compact forms in regex
Browse files Browse the repository at this point in the history
Co-authored-by: Amnon Khen <[email protected]>
  • Loading branch information
arschat and amnonkhen authored Jan 22, 2024
1 parent 6621fa8 commit 7741c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json_schema/type/protocol/analysis/analysis_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"gene_annotation_version": {
"description": "The Ensembl release version accession number or NCBI RefSeq assembly version used for gene annotation.",
"type": "string",
"pattern": "^v[0-9]{2,}$|^GCF_[0-9]{9}\\.[0-9]{1,}$",
"pattern": "^v\\d{2,}$|^GCF_\\d{9}\\.\\d+$",
"user_friendly": "Gene annotation version",
"example": "v110; GCF_000001405.40; GCF_000001635.27"
}
Expand Down

0 comments on commit 7741c38

Please sign in to comment.