From dd3b8fea8c9160c9cfde6bd24778c2b95d0fd564 Mon Sep 17 00:00:00 2001 From: fOppenheimer <80682747+fOppenheimer@users.noreply.github.com> Date: Fri, 4 Feb 2022 12:59:42 +0100 Subject: [PATCH] changed regex for opening hours (#289) --- src/misc/utils.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/utils.tsx b/src/misc/utils.tsx index 25442e7..179b554 100644 --- a/src/misc/utils.tsx +++ b/src/misc/utils.tsx @@ -49,7 +49,7 @@ const pattern = { url: '^(www\\.|http:\\/\\/|https:\\/\\/){0,1}?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,10}(:[0-9]{1,5})?(\\/.*)?$', BSNR:'^[1-9]{1}\\d{8}$', //openingHours:'^[\\w-\\d\\s]{0,64}$/gm' - openingHours:'^[a-zA-ZäöüÄÖÜß,-\\d\\s\\.\\!\\:\\(\\)]{0,64}$' + openingHours:'^(.|\n){0,64}$' } const processNoRegExp = new RegExp(pattern.processNo);