Stopped removing *s from the end of search phrases

Этот коммит содержится в:
Harrison Healey
2016-03-03 15:20:26 -05:00
родитель d1b1148ea8
Коммит cd4172bfd8
3 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@@ -89,9 +89,9 @@ func parseSearchFlags(input []string) ([]string, [][2]string) {
}
if !isFlag {
// trim off surrounding punctuation
// trim off surrounding punctuation (note that we leave trailing asterisks to allow wildcards)
word = puncStart.ReplaceAllString(word, "")
word = puncEnd.ReplaceAllString(word, "")
word = puncEndWildcard.ReplaceAllString(word, "")
// and remove extra pound #s
word = hashtagStart.ReplaceAllString(word, "#")