Closed s-heppner closed 5 months ago
I double checked the current working branch of the spec and found the regex there to be:
^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$
See the line in the spec:
:aasd002: pass:q[[underline]#Constraint AASd-002:# _idShort_ of __Referable__s shall only feature letters, digits, hyphen ("-") and underscore ("\_"); starting mandatory with a letter, and not ending with a hyphen, i.e. ^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$.]
Note, how the last .]
are missing in this regex compared to the one cited above. The point stems from the sentence and the ]
from the AsciiDoc definition.
This may also be a bug in the changelog of aas-specs, though I appear to be unable to find this specific line that I quoted.
Referable/idShort and Constraint AASd-002: now also allows hyphens to be included in name aas-specs#295