This commit is contained in:
shoopea 2019-07-08 18:16:24 +08:00
parent 4d16e2c9f0
commit 8c050fecdd

2
obj.go
View File

@ -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 {