summaryrefslogtreecommitdiffstats
path: root/src/pattern.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-09-12 11:00:30 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-09-12 11:00:30 +0900
commit9017e297417bc20c89e1e7c9ce47f1c2fbbfd5fc (patch)
tree85e617ae04e9cf9b7a1551c6da17ee83b090aa90 /src/pattern.go
parent0a22142d88ae6cf65d3c9801978241554c3ee968 (diff)
Make it possible to unquote the term in extended-exact mode
Close #338
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, "$") {