forked from External/ergo
fix #983
This commit is contained in:
parent
d37af694af
commit
984794eb1e
2 changed files with 30 additions and 1 deletions
|
|
@ -452,7 +452,7 @@ func (set *UserMaskSet) setRegexp() {
|
|||
set.RUnlock()
|
||||
|
||||
if index > 0 {
|
||||
expr := "^" + strings.Join(maskExprs, "|") + "$"
|
||||
expr := "^(" + strings.Join(maskExprs, "|") + ")$"
|
||||
re, _ = regexp.Compile(expr)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue