ripgrep 是一款 line oriented 搜索工具,它会遵循你的 gitignore 规则递归搜索当前目录中的正则表达式。ripgrep 将 Silver Searcher(类似于ack)的可用性与 GNU grep 高速相结合,支持 Windows、macOS 和 Linux 平台。 搜索结果示例: ripgrep 0.7.0 是一个小的改进和修复版本,包括: Added or improved file type filtering for config & license files, Elm, Purescript, Standard ML, sh, systemd, Terraform FEATURE #593: Using both -o/--only-matching and -r/--replace does the right thing. BUG #200: ripgrep will stop when its pipe is closed. BUG #402: Fix context printing bug when the -m/--max-count flag is used. BUG #521: Fix interaction between -r/--replace and terminal colors. BUG #559: Ignore test that tried reading a non-UTF-8 file path on macOS. BUG #599: Fix color escapes on empty matches. BUG #600: Avoid expensive (on Windows) file handle check when using --files. BUG #618: Clarify installation instructions for Ubuntu users. BUG #633: Faster symlink loop checking on Windows. 各平台下载地址请查阅发行列表。 ripgrep 0.7.0 发布,正则表达式搜索工具下载地址