m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-14 14:23:47 -05:00

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

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

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, "$") {