Skip to content

Commit

Permalink
fixup comment
Browse files Browse the repository at this point in the history
  • Loading branch information
seakayone committed Jun 24, 2024
1 parent 5927191 commit 272650d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ object Username extends StringValueCompanion[Username] {
*/
private val UsernameRegex: Regex = (
"^(?=.{3,50}$)" +
// 4 - 50 characters long
// 3 - 50 characters long
"(?![_.-])" +
// Underscore, hyphen and dot can't be at the start of a username
"(?!.*[_.-]{2})" +
Expand Down

0 comments on commit 272650d

Please sign in to comment.