Skip to content

Commit

Permalink
fix: (#281) 정규식 오타 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
khcho0125 committed Jan 13, 2023
1 parent 7de7a32 commit 26292d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ value class Password(
*
* non-space, $ , + , - , _ , a ~ z , A ~ Z , 0 ~ 9
*/
const val PATTERN = """(?=.*[a-zA-Z])(?=.*\d)(?=^[\w$+-]{$MIN_LENGTH,$MAX_LENGTH$).*"""
const val PATTERN = """(?=.*[a-zA-Z])(?=.*\d)(?=^[\w$+-]{$MIN_LENGTH,$MAX_LENGTH}$).*"""

fun of(password: String) = Password(password)
}
Expand Down

0 comments on commit 26292d3

Please sign in to comment.