]> git.lizzy.rs Git - go-anidb.git/commitdiff
titles: Specify how the search string is split
authorDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Fri, 12 Jul 2013 21:44:59 +0000 (18:44 -0300)
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Fri, 12 Jul 2013 21:44:59 +0000 (18:44 -0300)
titles/search.go

index 2a157527fb38113fac5783569834a25b999b1823..458bd9b480b48d645ce6c063c4026fd915508388 100755 (executable)
@@ -118,8 +118,8 @@ const wordBound = ` `
 
 // Fuzzy string search with algorithm similar to the official Chii[AR] IRC bot.
 //
-// First attempts an exact search. Otherwise tries, in order, the following
-// alternate matches:
+// First attempts an exact search. Otherwise, uses strings.Fields to split the string
+// into words and tries, in order, the following alternate matches:
 //
 // * Initial words (prefix, but ending at word boundary)
 //