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

Allow escaping term starting with |

Close #444
This commit is contained in:
Junegunn Choi
2017-08-09 23:33:20 +09:00
parent e85a8a68d0
commit 6d53089cc1

View File

@@ -61,7 +61,7 @@ var (
func init() {
_splitRegex = regexp.MustCompile(" +")
_escapedPrefixRegex = regexp.MustCompile("^\\\\['!^]")
_escapedPrefixRegex = regexp.MustCompile("^\\\\['!^|]")
clearPatternCache()
clearChunkCache()
}