#regex #grep #search #pattern #line

grep-regex

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

9 releases

new 0.1.7 Mar 23, 2020
0.1.6 Mar 16, 2020
0.1.5 Aug 6, 2019
0.1.3 Apr 15, 2019
0.0.1 Aug 8, 2018

#1 in #line

Download history 582/week @ 2019-12-02 748/week @ 2019-12-09 483/week @ 2019-12-16 429/week @ 2019-12-23 467/week @ 2019-12-30 583/week @ 2020-01-06 733/week @ 2020-01-13 648/week @ 2020-01-20 627/week @ 2020-01-27 638/week @ 2020-02-03 586/week @ 2020-02-10 626/week @ 2020-02-17 716/week @ 2020-02-24 636/week @ 2020-03-02 797/week @ 2020-03-09 1702/week @ 2020-03-16

3,102 downloads per month
Used in 7 crates (5 directly)

Unlicense/MIT

165KB
3K 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

~2.5MB
~58K SLoC