Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
changed regex for opening hours (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
fOppenheimer authored Feb 4, 2022
1 parent d4732fe commit dd3b8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/misc/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dd3b8fe

Please sign in to comment.