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()
}