From cbace66bac28733336bab856c6c0ac829e9d8071 Mon Sep 17 00:00:00 2001 From: Minjae-An Date: Sat, 16 Mar 2024 22:10:37 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=A0=84=ED=99=94=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EC=A0=95=EA=B7=9C=EC=8B=9D=20=EC=A0=95=EC=9D=98(#28)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- be/src/main/java/yeonba/be/util/ServiceRegex.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/be/src/main/java/yeonba/be/util/ServiceRegex.java b/be/src/main/java/yeonba/be/util/ServiceRegex.java index bb006931..d405f48f 100644 --- a/be/src/main/java/yeonba/be/util/ServiceRegex.java +++ b/be/src/main/java/yeonba/be/util/ServiceRegex.java @@ -4,7 +4,8 @@ public enum ServiceRegex { EMAIL("[a-zA-Z0-9_!#$%&’*+/=?`{|}~^.-]+@[a-zA-Z0-9.-]+$"), PASSWORD("^(?=.*[a-zA-Z])(?=.*\\d)(?=.*[~#@!]).{8,20}$"), - VERIFICATION_CODE("^[A-Za-z0-9]{6}$"); + VERIFICATION_CODE("^[A-Za-z0-9]{6}$"), + PHONE_NUMBER("^010\\d{8}$"); private final String pattern;