add missing comment for the method

This commit is contained in:
Murat Kabilov 2017-09-26 13:39:13 +02:00
parent f77852a152
commit ed476ae85d
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ OUTER:
return result, len(result) == 0 return result, len(result) == 0
} }
// FindNamedStringSubmatch returns a map of strings holding the text of the matches of the r regular expression
func FindNamedStringSubmatch(r *regexp.Regexp, s string) map[string]string { func FindNamedStringSubmatch(r *regexp.Regexp, s string) map[string]string {
matches := r.FindStringSubmatch(s) matches := r.FindStringSubmatch(s)
grNames := r.SubexpNames() grNames := r.SubexpNames()