3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

Merge pull request #11 from edmund-huber/allow_underscores_in_nicks

allow underscores in nicks
This commit is contained in:
Jeremy Latt 2014-03-02 11:04:50 -08:00
commit 3441cb7ebe

View File

@ -19,7 +19,7 @@ var (
// regexps
ChannelNameExpr = regexp.MustCompile(`^[&!#+][\pL\pN]{1,63}$`)
NicknameExpr = regexp.MustCompile(
"^[\\pL\\[\\]{}^`][\\pL\\pN\\[\\]{}^`]{1,31}$")
"^[\\pL\\[\\]{}^`_][\\pL\\pN\\[\\]{}^`_]{1,31}$")
)
const (