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

Commit

Permalink
fix: changed possible length of TLD to 10 (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
kerstin-oppermann-tsi authored Dec 9, 2021
1 parent 4f820a8 commit e328224
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 @@ -45,7 +45,7 @@ const pattern = {
tel: '^([+]{1}[1-9]{1,2}|[0]{1}[1-9]{1})[0-9]{5,}$',
eMail: '^[\\w\\d\\.-]{1,}[@]{1}[\\w\\d\\.-]{1,}[\\.]{1}[\\w]{2,}$',
standardisedName: '^[A-Z<]*$',
url: '^(www\\.|http:\\/\\/|https:\\/\\/){0,1}?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$',
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}$'
}

Expand Down

0 comments on commit e328224

Please sign in to comment.