Make it possible to unquote the term in extended-exact mode

Close #338
This commit is contained in:
Junegunn Choi committed 2015-09-12 11:00:30 +09:00
1 parent 0a22142d88
commit 9017e29741
3 files changed
+7 -3

No files matched your search

+3
View File
@@ -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, "$") {