From 95de01217f82150efec546f6c441f75b9fbb9d76 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 2 Nov 2023 01:17:52 +0100 Subject: [PATCH] Continued: - maybe also -rc came here --- fba/helpers/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fba/helpers/version.py b/fba/helpers/version.py index 2f54ab3..b6f7c64 100644 --- a/fba/helpers/version.py +++ b/fba/helpers/version.py @@ -28,7 +28,7 @@ patterns = [ # non-sematic, e.g. 1.2.3.4 re.compile(r"^(?Pv|V{0,1})(\.{0,1})(?P0|[1-9]\d*)\.(?P0+|[1-9]\d*)(\.(?P0+|[1-9]\d*)(\.(?P0|[1-9]\d*))?)$"), # non-sematic, e.g. 2023-05[-dev] - re.compile(r"^(?P[1-9]{1}[0-9]{3})\.(?P[0-9]{2})(-dev){0,1}$"), + re.compile(r"^(?P[1-9]{1}[0-9]{3})\.(?P[0-9]{2})(-[a-z]+){0,1}$"), # non-semantic, e.g. abcdef0 re.compile("^[a-f0-9]{7}$"), ] -- 2.39.5