From 7c1e6717a7bd6acc89f002c2352629df5c6e3dd5 Mon Sep 17 00:00:00 2001 From: Tom Kane Date: Wed, 30 Sep 2026 15:06:54 +0000 Subject: [PATCH] allow up to siz characters in the prefix pattern --- src/techui_builder/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/techui_builder/models.py b/src/techui_builder/models.py index 2cfc27cc..d926baed 100644 --- a/src/techui_builder/models.py +++ b/src/techui_builder/models.py @@ -29,7 +29,7 @@ (?!.*--) # negative lookahead to ensure no double hyphens (?!.*:\..) # negative lookahead to ensure no colon followed by a dot ( # start of capture group 1 - (?:[A-Za-z0-9]{2,5}-){3} # match 2 to 5 alphanumeric characters followed + (?:[A-Za-z0-9]{2,6}-){3} # match 2 to 6 alphanumeric characters followed # by a hyphen, repeated 3 times [\d]* # match zero or more digits [^:]? # match zero or one non-colon character