#regex #grep #search #pattern #line

grep-regex

Use Rust’s regex library with the ‘grep’ crate

3 unstable releases

0.1.1 Sep 7, 2018
0.1.0 Aug 20, 2018
0.0.1 Aug 8, 2018

#4 in #grep

Download history 16/week @ 2018-08-10 7/week @ 2018-08-17 16/week @ 2018-08-24 5/week @ 2018-08-31 64/week @ 2018-09-07

36 downloads per month
Used in 4 crates (3 directly)

Unlicense/MIT

137KB
2.5K SLoC

grep-regex

The grep-regex crate provides an implementation of the Matcher trait from the grep-matcher crate. This implementation permits Rust's regex engine to be used in the grep crate for fast line oriented searching.

Linux build status Windows build status

Dual-licensed under MIT or the UNLICENSE.

Documentation

https://docs.rs/grep-regex

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-regex = "0.1"

and this to your crate root:

extern crate grep_regex;

Dependencies

~2MB
~37K SLoC