forked from External/ergo
relax regex restrictions for nicknames
This commit is contained in:
parent
f1b610e1c1
commit
97886dd00f
1 changed files with 2 additions and 2 deletions
|
|
@ -19,11 +19,11 @@ 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\\pN\\pP\\pS]{1,32}$")
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SEM_VER = "ergonomadic-1.3"
|
SEM_VER = "ergonomadic-1.3.1"
|
||||||
CRLF = "\r\n"
|
CRLF = "\r\n"
|
||||||
MAX_REPLY_LEN = 512 - len(CRLF)
|
MAX_REPLY_LEN = 512 - len(CRLF)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue