From f791976b844572f97a8e04509d4ca21befd66e09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=88=E5=AD=A3=E8=8A=B1=E4=B8=AD=E7=9A=84=E6=98=9F?= =?UTF-8?q?=E8=BE=B0?= Date: Sat, 15 Jan 2022 10:56:29 +0000 Subject: [PATCH] Update count.go --- count.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/count.go b/count.go index 2deddd8..aa6ece4 100644 --- a/count.go +++ b/count.go @@ -41,7 +41,7 @@ func fas_count(sum_nex []dna) []charset { func fas_name(old_name string) string { //needed to import string - compileRegex := regexp.MustCompile(`\w+\.`) + compileRegex := regexp.MustCompile(`(\w+)\.\w+`) matchArr := compileRegex.FindStringSubmatch(old_name) //needed to use the string get from the old string new_name := matchArr[len(matchArr)-1]