mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-23 03:02:48 +01:00
allow underscores in nicks
This commit is contained in:
parent
542744d52a
commit
857907320d
@ -19,7 +19,7 @@ var (
|
|||||||
// regexps
|
// regexps
|
||||||
ChannelNameExpr = regexp.MustCompile(`^[&!#+][\pL\pN]{1,63}$`)
|
ChannelNameExpr = regexp.MustCompile(`^[&!#+][\pL\pN]{1,63}$`)
|
||||||
NicknameExpr = regexp.MustCompile(
|
NicknameExpr = regexp.MustCompile(
|
||||||
"^[\\pL\\[\\]{}^`][\\pL\\pN\\[\\]{}^`]{1,31}$")
|
"^[\\pL\\[\\]{}^`_][\\pL\\pN\\[\\]{}^`_]{1,31}$")
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
Reference in New Issue
Block a user