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
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627
1 changed files with 1 additions and 1 deletions

View File

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