ripgrep

在尊重 gitignore 的同时,ripgrep 递归地在目录中搜索正则表达式模式。「ripgrep recursively searches directories for a regex pattern while respecting your gitignore.

Github星跟踪图

ripgrep (rg)

ripgrep is a line-oriented search tool that recursively searches your current
directory for a regex pattern. By default, ripgrep will respect your .gitignore
and automatically skip hidden files/directories and binary files. ripgrep
has first class support on Windows, macOS and Linux, with binary downloads
available for every release.
ripgrep is similar to other popular search tools like The Silver Searcher, ack
and grep.

Linux build status
Windows build status
Crates.io
Packaging status

Dual-licensed under MIT or the UNLICENSE.

CHANGELOG

Please see the CHANGELOG for a release history.

Screenshot of search results

A screenshot of a sample search with ripgrep

Quick examples comparing tools

This example searches the entire Linux kernel source tree (after running
make defconfig && make -j8) for [A-Z]+_SUSPEND, where all matches must be
words. Timings were collected on a system with an Intel i7-6900K 3.2 GHz, and
ripgrep was compiled with SIMD enabled.

Please remember that a single benchmark is never enough! See my
blog post on ripgrep
for a very detailed comparison with more benchmarks and analysis.

概览

名称与所有者BurntSushi/ripgrep
主编程语言Rust
编程语言Rust (语言数: 5)
平台Linux, Mac, Windows
许可证The Unlicense
发布数232
最新版本名称14.1.0 (发布于 2024-01-06 14:33:27)
第一版名称0.0.1 (发布于 2016-09-05 20:25:29)
创建于2016-03-11 02:02:33
推送于2024-05-02 22:43:47
最后一次提交2024-04-23 19:12:19
星数45.1k
关注者数297
派生数1.9k
提交数2k
已启用问题?
问题数1574
打开的问题数91
拉请求数498
打开的拉请求数14
关闭的拉请求数302
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?
去到顶部