mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 14:30:22 +00:00
fix: fixed prefix regex
close: https://github.com/koreanbots/v2-testing/issues/48
This commit is contained in:
parent
2d4bd97af0
commit
781be673bb
@ -2,7 +2,7 @@ import urlRegex from 'url-regex-safe'
|
|||||||
|
|
||||||
export const ID = /^[0-9]{17,}$/
|
export const ID = /^[0-9]{17,}$/
|
||||||
export const Vanity = /^[A-Za-z\d-]+$/
|
export const Vanity = /^[A-Za-z\d-]+$/
|
||||||
export const Prefix = /^[^\s]$/
|
export const Prefix = /^[^\s]/
|
||||||
export const HTTPProtocol = /^https?:\/\/.*?/
|
export const HTTPProtocol = /^https?:\/\/.*?/
|
||||||
export const Url = urlRegex({ strict: true })
|
export const Url = urlRegex({ strict: true })
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user