ripgrep (rg)

ripgrep (rg)

Recursively searches directories for a regex pattern while respecting your gitignore

Category
File Search
License
MIT
Platforms
Windows macOS Linux
Released
2016
Path
c:\ripgrep\rg.exe
Benefits
Use ripgrep if you like speed, filtering by default, fewer bugs and Unicode support.
Notes
https://monkehworks.com/2019/10/23/grep-with-cfml-and-java-streams.html Written in Rust; better than GNU grep, ack, ag, git-grep; returns data in JSONP format
Version
Latest known: 15.1.0 (2024-09-08)

Examples

1. Searches for all occurrences of the word "fast" in README.md

rg.exe --color never fast d:\docs\README.md

2. Search for an IP address in files with a ".log" extension within a directory

rg.exe --color never "\b127\.0\.0\.1\b" "d:\logs" -g "*.log"

3. Search for all references to CFHTTP (regardless of case) in CFC/CFM files

rg.exe --color never -i CFHTTP d:\www\MyWebsite -g "*.[Cc][Ff][MmCc]"

4. Search for all references to CFHTTP (regardless of case) in CFC/CFM files. Return filenames only

rg.exe --color never -i CFHTTP d:\www\MyWebsite -g "*.cf[cm]" --files  --glob-case-insensitive

Try it

Agree to terms to run demos.