Skip to content

Commit

Permalink
[REFACTOR/#43] Time Regex ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonsuKang committed Jan 19, 2025
1 parent 761a9f9 commit 84cab58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sealed class OnboardingContract {
}

enum class FieldType(val validationRegex: Regex) {
TIME(Regex("^\\d{2}:\\d{2}\$")),
TIME(Regex("^(24:00|([0-1]\\d|2[0-3]):[0-5]\\d)\$")),
NAME(Regex("^(?=.{1,13}\$)(?=.{1,6}(?:[๊ฐ€-ํžฃ]|[a-zA-Z]{2})\$)[๊ฐ€-ํžฃa-zA-Z]*\$")),
}

Expand Down

0 comments on commit 84cab58

Please sign in to comment.