From cb146a2f0c08f2506ee241ab5aaa7a817b8ac499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=86=90=ED=98=84=EA=B2=BD?= Date: Fri, 13 Oct 2023 12:47:21 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20github=20link=20regex=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../keeper/homepage/domain/study/entity/embedded/GitLink.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/keeper/homepage/domain/study/entity/embedded/GitLink.java b/src/main/java/com/keeper/homepage/domain/study/entity/embedded/GitLink.java index 9d5f4a227..2d1dccd19 100644 --- a/src/main/java/com/keeper/homepage/domain/study/entity/embedded/GitLink.java +++ b/src/main/java/com/keeper/homepage/domain/study/entity/embedded/GitLink.java @@ -14,7 +14,7 @@ public class GitLink { public static final String GIT_LINK_INVALID = "https://github.com 로 시작하는 깃허브 주소를 입력해주세요."; - public static final String GIT_LINK_REGEX = "^https://github.com/\\S+$"; + public static final String GIT_LINK_REGEX = "^https://github.com.*"; private static final Pattern GIT_LINK_FORMAT = Pattern.compile(GIT_LINK_REGEX);