From 781be673bb50ca5853e966032780f8b32ab46424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Tue, 9 Feb 2021 21:51:00 +0900 Subject: [PATCH] fix: fixed prefix regex close: https://github.com/koreanbots/v2-testing/issues/48 --- utils/Regex.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/Regex.ts b/utils/Regex.ts index dd8e1d4..c3b39c1 100644 --- a/utils/Regex.ts +++ b/utils/Regex.ts @@ -2,7 +2,7 @@ import urlRegex from 'url-regex-safe' export const ID = /^[0-9]{17,}$/ export const Vanity = /^[A-Za-z\d-]+$/ -export const Prefix = /^[^\s]$/ +export const Prefix = /^[^\s]/ export const HTTPProtocol = /^https?:\/\/.*?/ export const Url = urlRegex({ strict: true })