Files
ripgrep/crates/searcher
Riccardo Attilio Galli 57e90533a0 searcher: add more tests for replace_bytes
... and add a comment explaining an optimization.

Closes #2729
2025-07-26 10:42:28 -04:00
..
2024-09-08 22:09:27 -04:00
2021-06-01 21:07:37 -04:00

grep-searcher

A high level library for executing fast line oriented searches. This handles things like reporting contextual lines, counting lines, inverting a search, detecting binary data, automatic UTF-16 transcoding and deciding whether or not to use memory maps.

Build status

Dual-licensed under MIT or the UNLICENSE.

Documentation

https://docs.rs/grep-searcher

NOTE: You probably don't want to use this crate directly. Instead, you should prefer the facade defined in the grep crate.

Usage

Add this to your Cargo.toml:

[dependencies]
grep-searcher = "0.1"