typos and spelling correction

This commit is contained in:
dartraiden
2015-04-28 18:34:55 +03:00
committed by Jakob Borg
parent a5e11c7489
commit 32a76901a9
20 changed files with 27 additions and 27 deletions

View File

@@ -25,7 +25,7 @@ var tagExp = regexp.MustCompile(`.*~([^~.]+)(?:\.[^.]+)?$`)
// Returns the tag from a filename, whether at the end or middle.
func filenameTag(path string) string {
match := tagExp.FindStringSubmatch(path)
// match is []string{"whole match", "submatch"} when successfull
// match is []string{"whole match", "submatch"} when successful
if len(match) != 2 {
return ""