Closed kyoh86 closed 6 years ago
Thanks for the PR. I think manually escaping is the right way to search when using a pipe, or any other character with special meaning. If Rg has a way to auto escape a search then I think maybe that could be something to look into enabling.
Searching some words in
Rg
with a following command, I cannot found any lines.Even though some lines contain "OWNER" or "NAME"... Tried to get logs, I found a line of problem.
A vertical bar (
|
) is mistakenly construed as a pipe. So in keywords, bars should be escaped. Yes, it can be done manually, but it's nonsense I think.