Skip to content

Commit

Permalink
Merge pull request #48 from drumglow/allow-alphanumeric-usernames
Browse files Browse the repository at this point in the history
Allow alphanumeric usernames
  • Loading branch information
fzovpec authored Apr 15, 2024
2 parents c9af92f + d838c34 commit a936a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unreliable_chat_check/BrokenChatServerLocal.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const maxDelay = 30 * time.Second
const maxBurst = 1024

var (
regexName = regexp.MustCompile("((HELLO-FROM) (\\p{L}+)$)")
regexName = regexp.MustCompile("((HELLO-FROM) ([\\p{L}0-9]+)$)")
regexSend = regexp.MustCompile("((SEND) (\\p{L}+) ([^\n]+)$)")
regexGet = regexp.MustCompile("((GET) ([\\p{L}\\-]+)$)")
regexSet = regexp.MustCompile("((SET) (\\p{L}+) (([0-9]*[.])?[0-9]+)$)")
Expand Down

0 comments on commit a936a53

Please sign in to comment.