commit 403c408fd64a454483eec6109e21d16432700aa3
parent b90f20cf8d4d343dd2f7bfec9977a881356a696f
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 29 Jul 2026 13:08:36 +0200
CH_AHV: anchor both alternatives of the validation regex
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/redux.ch.json b/contrib/redux.ch.json
@@ -30,7 +30,7 @@
"tooltip":"AHV-Nummer",
"widget": "anastasis_gtk_ia_ahv",
"uuid" : "1da87570-ba16-4f62-8a7e-cbda92f51591",
- "validation-regex": "^(756)\\.[0-9]{4}\\.[0-9]{4}\\.[0-9]{2}|(756)[0-9]{10}$",
+ "validation-regex": "^((756)\\.[0-9]{4}\\.[0-9]{4}\\.[0-9]{2}|(756)[0-9]{10})$",
"validation-logic": "CH_AHV_check",
"autocomplete": "???.????.????.??"
}