#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 589/week @ 2018-09-18 551/week @ 2018-09-25 457/week @ 2018-10-02 474/week @ 2018-10-09 567/week @ 2018-10-16 538/week @ 2018-10-23 513/week @ 2018-10-30 554/week @ 2018-11-06 520/week @ 2018-11-13 568/week @ 2018-11-20 448/week @ 2018-11-27 561/week @ 2018-12-04 507/week @ 2018-12-11

36 downloads per month
Used in 5 crates (4 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