Skip to content

Commit

Permalink
feat: 전화번호 정규식 정의(#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Minjae-An committed Mar 16, 2024
1 parent d638475 commit cbace66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion be/src/main/java/yeonba/be/util/ServiceRegex.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit cbace66

Please sign in to comment.