Skip to content

Commit e343a9f

Browse files
author
҈҈҈Luiz Branco
authored
Fix regex user name to accept any unicode letter (#186)
1 parent 622adae commit e343a9f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1616

1717
### Fixed
1818

19+
- User display name accepts unicode letters
20+
1921
## [0.10.1] - 2017-11-15
2022

2123
### Fixed

prompts/prompts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
)
2020

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

0 commit comments

Comments
 (0)