Update count.go
This commit is contained in:
parent
3c32f0d5e3
commit
f791976b84
1 changed files with 1 additions and 1 deletions
2
count.go
2
count.go
|
@ -41,7 +41,7 @@ func fas_count(sum_nex []dna) []charset {
|
||||||
|
|
||||||
func fas_name(old_name string) string {
|
func fas_name(old_name string) string {
|
||||||
//needed to import string
|
//needed to import string
|
||||||
compileRegex := regexp.MustCompile(`\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
|
||||||
new_name := matchArr[len(matchArr)-1]
|
new_name := matchArr[len(matchArr)-1]
|
||||||
|
|
Loading…
Reference in a new issue