mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 06:20:24 +00:00
fix: regex warning
This commit is contained in:
parent
88d205040b
commit
58447cdd74
@ -1,7 +1,7 @@
|
||||
import urlRegex from 'url-regex'
|
||||
|
||||
export const ID = /^[0-9]{17,}$/
|
||||
export const Vanity = /^[A-z|\d|-]+$/
|
||||
export const Vanity = /^[A-Za-z\d-]+$/
|
||||
export const Prefix = /^[^\s]$/
|
||||
export const HTTPProtocol = /^https?:\/\/.*?/
|
||||
export const Url = urlRegex({ strict: true })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user