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)