Update Regex.ts

시켜서 하긴 했다만 커밋컨벤션 지키라곤 안함
This commit is contained in:
Mary 2021-02-03 00:49:35 +09:00 committed by GitHub
parent 3f0105e3f4
commit 74c5410f70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
import urlRegex from 'url-regex'
export const ID = /[0-9]{17,}/
export const Vanity = /[A-z|\d|-]+/
export const Prefix = /^[^\s]/
export const ID = /^[0-9]{17,}$/
export const Vanity = /^[A-z|\d|-]+$/
export const Prefix = /^[^\s]$/
export const HTTPProtocol = /^https?:\/\/.*?/
export const Url = urlRegex({ strict: true })
export const Url = urlRegex({ strict: true })