mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 14:30:22 +00:00
Update Regex.ts
시켜서 하긴 했다만 커밋컨벤션 지키라곤 안함
This commit is contained in:
parent
3f0105e3f4
commit
74c5410f70
@ -1,7 +1,7 @@
|
|||||||
import urlRegex from 'url-regex'
|
import urlRegex from 'url-regex'
|
||||||
|
|
||||||
export const ID = /[0-9]{17,}/
|
export const ID = /^[0-9]{17,}$/
|
||||||
export const Vanity = /[A-z|\d|-]+/
|
export const Vanity = /^[A-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