update
This commit is contained in:
@@ -121,6 +121,7 @@ func initSys() {
|
|||||||
s.Disappear()
|
s.Disappear()
|
||||||
ss := []string{}
|
ss := []string{}
|
||||||
for _, f := range functions {
|
for _, f := range functions {
|
||||||
|
f := f
|
||||||
for i := range f.Rules {
|
for i := range f.Rules {
|
||||||
f.Rules[i] = strings.Trim(f.Rules[i], "^$")
|
f.Rules[i] = strings.Trim(f.Rules[i], "^$")
|
||||||
f.Rules[i] = strings.Replace(f.Rules[i], `\s+`, " ", -1)
|
f.Rules[i] = strings.Replace(f.Rules[i], `\s+`, " ", -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user