diff --git a/app/lib/common-libs/constants.ts b/app/lib/common-libs/constants.ts index 14465aade0602c1525116e0c7fa7a210011373f6..8d9f214763606548f2112558cd7e8ff4c665cd4f 100644 --- a/app/lib/common-libs/constants.ts +++ b/app/lib/common-libs/constants.ts @@ -18,8 +18,8 @@ const POSITIVE_INT = "[1-9][0-9]{0,18}" const TIMESTAMP = "[1-9][0-9]{0,18}" const BOOLEAN = "[01]" const WS2PID = "[0-9a-f]{8}" -const SOFTWARE = "[a-z0-9]{2,15}" -const SOFT_VERSION = "[0-9a-z.-_]{2,15}" +const SOFTWARE = "[a-z0-9._-]{2,15}" +const SOFT_VERSION = "[0-9a-z._-]{2,15}" const POW_PREFIX = "([1-9]|[1-9][0-9]|[1-8][0-9][0-9])" // 1-899 const SPECIAL_BLOCK = '0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855' const META_TS = "META:TS:" + BLOCK_UID