try to test

This commit is contained in:
kuoi 2022-01-15 10:35:44 +00:00 committed by GitHub
parent 179cf24fba
commit 2c26c9e50a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,11 @@ func fas_count(sum_nex []dna) []charset {
}
func fas_name(old_name string) string {
// 需要 最后一个/开始,一个.结束 中间的部分
// 正则表达式
//needed to import string
str :=
compileRegex := regexp.MustCompile("(\w+).\w+")
matchArr := compileRegex.FindStringSubmatch(str)
//needed to use the string get from the old string
fmt.Println("output content", matchArr[len(matchArr)-1])
return old_name
}