summaryrefslogtreecommitdiffstats
path: root/src/pattern.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pattern.go')
-rw-r--r--src/pattern.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pattern.go b/src/pattern.go
index 95f23556..bf92ca19 100644
--- a/src/pattern.go
+++ b/src/pattern.go
@@ -209,11 +209,10 @@ func parseTerms(fuzzy bool, caseMode Case, normalize bool, str string) []termSet
// Flip exactness
if fuzzy && !inv {
typ = termExact
- text = text[1:]
} else {
typ = termFuzzy
- text = text[1:]
}
+ text = text[1:]
} else if strings.HasPrefix(text, "^") {
if typ == termSuffix {
typ = termEqual