From f487b25aa184fd48c3f1504a001b0eb4864ccde9 Mon Sep 17 00:00:00 2001 From: Moritz Utcke Date: Mon, 7 Apr 2025 18:29:30 -0400 Subject: [PATCH] UUID Match --- src/components/Ausweis/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Ausweis/types.ts b/src/components/Ausweis/types.ts index 943b9542..f58c52ce 100644 --- a/src/components/Ausweis/types.ts +++ b/src/components/Ausweis/types.ts @@ -98,7 +98,7 @@ export type OptionalNullable = T extends object ? { } : T; export const UUidWithPrefix = z.string().refine((value) => { - const prefixedUUidRegex = /^([A-Z]{2})[0-9A-Z]{6,8}$/i + const prefixedUUidRegex = /^([A-Z]{2})[0-9A-Z]{6,9}$/i const match = value.match(prefixedUUidRegex)