From e599b8486d8cc778a3f685b3c19f9077443bba25 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:48:16 +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 42c344e..9a6e071 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+.`) matchArr := compileRegex.FindStringSubmatch(old_name) //needed to use the string get from the old string new_name := matchArr[len(matchArr)-1]