Skip to content

Commit

Permalink
Merge pull request #285 from junseoparkk/refactor/lounge
Browse files Browse the repository at this point in the history
라운지 이름 검증에 필요한 정규식 수정
  • Loading branch information
jjikky authored Oct 6, 2024
2 parents 10f50dc + 6424b1f commit 128db3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class LoungeName {

private static final int MIN_LENGTH = 2;
private static final int MAX_LENGTH = 10;
private static final String NAME_REGEX = "^(?!.*[^-힣a-zA-Z0-9\\s])(?!.*\\s{2,}).*$";
private static final String NAME_REGEX = "^(?!.*[^ㄱ-ㅎ가-힣a-zA-Z0-9\\s])(?!.*\\s{2,}).*$";

@Column(name = "name")
private String value;
Expand Down

0 comments on commit 128db3b

Please sign in to comment.