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, 3 insertions, 0 deletions
diff --git a/src/pattern.go b/src/pattern.go
index f83861ee..cfeb68dc 100644
--- a/src/pattern.go
+++ b/src/pattern.go
@@ -151,6 +151,9 @@ func parseTerms(mode Mode, caseMode Case, str string) []term {
if mode == ModeExtended {
typ = termExact
text = text[1:]
+ } else if mode == ModeExtendedExact {
+ typ = termFuzzy
+ text = text[1:]
}
} else if strings.HasPrefix(text, "^") {
if strings.HasSuffix(text, "$") {