Is there a way to escape quotes in ripgrep for MS Windows (Powershell or CMD)?
问题 I want to find a string "Hello (Hello starts with double quote) in text files using ripgrep . Normally, in Bash or ZSH, this would work by escaping with backslash or surrounding with single quote: rg \"Hello rg '"Hello' However, in MS Windows (Powershell and CMD), I've tried these but none of these worked: rg \"Hello rg '"Hello' rg `"Hello rg '`"Hello' Is there any way to escape single or double quotes using ripgrep in MS Windows? 回答1: Verbatim string "Hello must ultimately be passed as \