Skip to content

Commit

Permalink
Fix regex user name to accept any unicode letter (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
҈҈҈Luiz Branco authored Nov 21, 2017
1 parent 622adae commit e343a9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Fixed

- User display name accepts unicode letters

## [0.10.1] - 2017-11-15

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion prompts/prompts.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
)

const (
namePattern = "^[a-zA-Z\\s,\\.'\\-pL]{1,64}$"
namePattern = "^[a-zA-Z\\s,\\.'\\-\\pL]{1,64}$"
couponPattern = "^[0-9A-Z]{1,128}$"
codePattern = "^[0-9abcdefghjkmnpqrtuvwxyz]{16}$"
inviteTokenPattern = "^[a-zA-Z0-9_-]{52}$"
Expand Down

0 comments on commit e343a9f

Please sign in to comment.