Update count.go

This commit is contained in:
kuoi 2022-01-15 10:39:54 +00:00 committed by GitHub
parent c098cabced
commit 5675e8d78b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,6 +43,6 @@ func fas_name(old_name string) string {
compileRegex := regexp.MustCompile("(\w+).\w+") compileRegex := regexp.MustCompile("(\w+).\w+")
matchArr := compileRegex.FindStringSubmatch(old_name) matchArr := compileRegex.FindStringSubmatch(old_name)
//needed to use the string get from the old string //needed to use the string get from the old string
oldname := matchArr[len(matchArr)-1] old_name := matchArr[len(matchArr)-1]
return old_name return old_name
} }