File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/ssu/eatssu/domain/user/util Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,13 +102,13 @@ public void validateNickname(String nickname){
102102 throw new BaseException (BaseResponseStatus .CONSECUTIVE_HYPHEN_NICKNAME );
103103 }
104104
105- // νκΈ μμ΄κ° μλ κ²μΌλ‘ μμ
106- if (nickname .matches ("^[^A-Za-zκ°-ν£γ±-γ
γ
-γ
£ ].*" )) {
105+ // νκΈ, μμ΄, μ«μκ° μλ κ²μΌλ‘ μμ
106+ if (nickname .matches ("^[^A-Za-zκ°-ν£γ±-γ
γ
-γ
£0-9 ].*" )) {
107107 throw new BaseException (BaseResponseStatus .INVALID_START_OF_NICKNAME );
108108 }
109109
110- // νκΈ μμ΄κ° μλ κ²μΌλ‘ λ§λ¬΄λ¦¬
111- if (nickname .matches (".*[^A-Za-zκ°-ν£γ±-γ
γ
-γ
£ ]$" )) {
110+ // νκΈ, μμ΄, μ«μκ° μλ κ²μΌλ‘ λλ¨
111+ if (nickname .matches (".*[^A-Za-zκ°-ν£γ±-γ
γ
-γ
£0-9 ]$" )) {
112112 throw new BaseException (BaseResponseStatus .INVALID_END_OF_NICKNAME );
113113 }
114114
You canβt perform that action at this time.
0 commit comments