Skip to content
Snippets Groups Projects
Commit 50d29e79 authored by Éloïs's avatar Éloïs
Browse files

[fix] authorize ._- in software name and authorize - in software version

parent 9fe597ee
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment