Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

['Редагування закладу' page] Incorrect behavior is displayed when entering invalid data in the 'Веб сайт', 'Facebook', 'Instagram' fields #920 #1036

Merged
merged 6 commits into from
Apr 5, 2022
Merged
4 changes: 2 additions & 2 deletions src/app/shared/constants/regex-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ export const DATE_REGEX: RegExp = /[^0-9./-]*/g;
export const NAME_REGEX: RegExp = /^[А-Яа-яЇїІіЄєЁёҐґ'’-]*$/;
export const BIRTH_CERTIFICATE_REGEX: RegExp = /^[A-Za-zА-Яа-яЇїІіЄєЁёҐґ'’\s\d-№]*$/;
export const EDRPOUIPN_REGEX: RegExp = /^[A-Za-zА-Яа-я\s\d-№\/-]*$/;
export const WEB_INST_FB_REGEX: RegExp = /^[А-Яа-яЇїІіЄєЁёҐґ'’.,\d\/-]*$/;
export const FOUNDER_REGEX: RegExp = /^\S[А-Яа-яЇїІіЄєЁёҐґ'’\s?]*$/;
export const WEB_INST_FB_REGEX: RegExp = /^[A-Za-zА-Яа-яЇїІіЄєЁёҐґ'’.,!@\d\/-]*$/;
export const FOUNDER_REGEX: RegExp = /^\S[А-Яа-яЇїІіЄєЁёҐґ'’\s/-]*$/;