test
This commit is contained in:
parent
4d16e2c9f0
commit
8c050fecdd
2
obj.go
2
obj.go
@ -665,7 +665,7 @@ func silentGetObjItemID(code string, name string) int64 {
|
|||||||
}
|
}
|
||||||
m := fmt.Sprintf("^((%s.*)|(.*%s))$", regexp.QuoteMeta(item.Name), regexp.QuoteMeta(item.Name))
|
m := fmt.Sprintf("^((%s.*)|(.*%s))$", regexp.QuoteMeta(item.Name), regexp.QuoteMeta(item.Name))
|
||||||
if ok, _ := regexp.MatchString(m, basename); ok {
|
if ok, _ := regexp.MatchString(m, basename); ok {
|
||||||
log.Printf("LOOP : Matching item modified basename %s with %s (%d).\n", basename, item.Name, item.ObjID64)
|
//log.Printf("LOOP : Matching item modified basename %s with %s (%d).\n", basename, item.Name, item.ObjID64)
|
||||||
match = true
|
match = true
|
||||||
return false
|
return false
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user