#regex #grep #search #pattern #line

grep-regex

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

7 releases

0.1.5 Aug 6, 2019
0.1.4 Aug 1, 2019
0.1.3 Apr 15, 2019
0.1.2 Feb 16, 2019
0.0.1 Aug 8, 2018

#56 in Text processing

Download history 730/week @ 2019-04-23 676/week @ 2019-04-30 597/week @ 2019-05-07 566/week @ 2019-05-14 575/week @ 2019-05-21 527/week @ 2019-05-28 732/week @ 2019-06-04 519/week @ 2019-06-11 550/week @ 2019-06-18 579/week @ 2019-06-25 593/week @ 2019-07-02 632/week @ 2019-07-09 589/week @ 2019-07-16 557/week @ 2019-07-23 882/week @ 2019-07-30

2,503 downloads per month
Used in 5 crates (4 directly)

Unlicense/MIT

155KB
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

~2MB
~52K SLoC