From 863ccaa692aa22d59088caf3b5f5011568e74757 Mon Sep 17 00:00:00 2001 From: Sebastian Pravda Date: Sun, 26 Feb 2023 10:24:50 +0100 Subject: [PATCH] fix: match street addresses with format XXX 00/0X --- .../routes/(candidate)/(authenticated)/register/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/routes/(candidate)/(authenticated)/register/+page.svelte b/frontend/src/routes/(candidate)/(authenticated)/register/+page.svelte index 9f44d6f..96e9712 100644 --- a/frontend/src/routes/(candidate)/(authenticated)/register/+page.svelte +++ b/frontend/src/routes/(candidate)/(authenticated)/register/+page.svelte @@ -145,7 +145,7 @@ houseNumber: yup .string() .required() - .matches(/^[0-9]+(\/[0-9]+)?$/), + .matches(/^[0-9]+(\/[0-9]+([a-zA-Z]+)?)?$/), city: yup.string().required(), zip: yup.string().required(), letterAddress: yup.string(),