Merge pull request #209 from EETagent/fix_street_regex

fix: match street addresses with format XXX 00/0X
This commit is contained in:
Sebastian Pravda 2023-02-27 10:33:47 +01:00 committed by GitHub
commit f9789aacff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,7 +145,7 @@
houseNumber: yup
.string()
.required()
.matches(/^[0-9]+(\/[0-9]+)?$/),
.matches(/^[0-9]+(\/[0-9]+([a-zA-Z]+)?)?$/),
city: yup.string().required(),
zip: yup.string().required(),
letterAddress: yup.string(),