- client: fix escape

This commit is contained in:
Ildar Kamalov 2020-07-24 18:42:49 +03:00
parent f5128d27f1
commit c7e7b76cec
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
export const R_URL_REQUIRES_PROTOCOL = /^https?:\/\/[^/\s]+(\/.*)?$/; export const R_URL_REQUIRES_PROTOCOL = /^https?:\/\/[^/\s]+(\/.*)?$/;
// matches hostname or *.wildcard // matches hostname or *.wildcard
export const R_HOST = /^(\*\.)?[\w\.\-]+$/; export const R_HOST = /^(\*\.)?[\w.-]+$/;
export const R_IPV4 = /^(?:(?:^|\.)(?:2(?:5[0-5]|[0-4]\d)|1?\d?\d)){4}$/; export const R_IPV4 = /^(?:(?:^|\.)(?:2(?:5[0-5]|[0-4]\d)|1?\d?\d)){4}$/;