WIP: Some visual improvements for login #20
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ const password = q("#password")
|
||||||
// 6: IPv6 address
|
// 6: IPv6 address
|
||||||
// MAYBE WITH
|
// MAYBE WITH
|
||||||
// 7: port number
|
// 7: port number
|
||||||
const RE_LOSSY_MXID = new RegExp(`^@?([a-z0-9._=-]+?)(?::((?:(${S_RE_DOMAIN})|((${S_RE_IPV4})|(${S_RE_IPV6})))(?::(\\d+))?))?$`)
|
const RE_LOSSY_MXID = new RegExp(`^@?([a-z0-9._=-]+?)(?::((?:(${S_RE_DOMAIN})|((${S_RE_IPV4})|(\\[${S_RE_IPV6}])))(?::(\\d+))?))?$`)
|
||||||
|
|
||||||
window.RE_LOSSY_MXID = RE_LOSSY_MXID
|
window.RE_LOSSY_MXID = RE_LOSSY_MXID
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue