Skip to content

Commit 6c65521

Browse files
omenticdom96
authored andcommitted
Support dashes in usernames
1 parent 3ac9ec3 commit 6c65521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ from times import getTime, utc, format
55
# Used to be:
66
# {'A'..'Z', 'a'..'z', '0'..'9', '_', '\128'..'\255'}
77
let
8-
UsernameIdent* = IdentChars # TODO: Double check that everyone follows this.
8+
UsernameIdent* = IdentChars + {'-'} # TODO: Double check that everyone follows this.
99

1010
import frontend/[karaxutils, error]
1111
export parseInt

0 commit comments

Comments
 (0)