Skip to content

Commit

Permalink
Adapt docstring of ID_short_type (#314)
Browse files Browse the repository at this point in the history
With v3.1 of the specification, the regex of `matches_id_short_type()`
changed.
While this change has already been adapted, we forgot to adapt the
docstring of class `ID_short_type`.

This fixes this oversight.
  • Loading branch information
s-heppner authored Feb 21, 2024
1 parent e1cf32a commit a311624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aas_core_meta/v3_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -1425,8 +1425,8 @@ class ID_short_type(Name_type, DBC):
:constraint AASd-002:
ID-short of :class:`Referable`'s shall only feature letters, digits,
underscore (``_``); starting mandatory with a letter.
*I.e.* ``[a-zA-Z][a-zA-Z0-9_]*``.
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_]+$``.
:constraint AASd-117:
Expand Down

0 comments on commit a311624

Please sign in to comment.