Skip to content

Commit

Permalink
Merge pull request #294 from bci-oss/Fix_regex_in_message_header
Browse files Browse the repository at this point in the history
fix regex in message header
  • Loading branch information
bs-jokri authored Sep 4, 2023
2 parents cb6126e + e9746c5 commit 1c467fe
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,4 @@ Note: The version of the message's header is specified in the version field."""@
:SemVer a samm-c:RegularExpressionConstraint ;
samm:preferredName "Semantic Versioning Constraint"@en ;
samm:description "Constraint for defining a SemVer version."@en ;
samm:value """
^(0|[1-9][0-9]*).(0|[1-9][0-9]*).(0|[1-9][0-9]*)(-(0|[1-9A-Za-z-][0-9A-Za-z-]*)(.[0-9A-Za-z-]+)*)?(+[0-9A-Za-z-]+(.[0-9A-Za-z-]+)*)?$
""" .
samm:value "^(0|[1-9][0-9]*).(0|[1-9][0-9]*).(0|[1-9][0-9]*)(-(0|[1-9A-Za-z-][0-9A-Za-z-]*)(.[0-9A-Za-z-]+)*)?([0-9A-Za-z-]+(.[0-9A-Za-z-]+)*)?$" .

0 comments on commit 1c467fe

Please sign in to comment.