- client: fix escape
This commit is contained in:
parent
f5128d27f1
commit
c7e7b76cec
|
@ -1,7 +1,7 @@
|
|||
export const R_URL_REQUIRES_PROTOCOL = /^https?:\/\/[^/\s]+(\/.*)?$/;
|
||||
|
||||
// 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}$/;
|
||||
|
||||
|
|
Loading…
Reference in New Issue