#regex #grep #search #pattern #line

grep-regex

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

5 releases

0.1.3 Apr 15, 2019
0.1.2 Feb 16, 2019
0.1.1 Sep 7, 2018
0.1.0 Aug 20, 2018
0.0.1 Aug 8, 2018

#46 in Text processing

Download history 498/week @ 2019-01-01 591/week @ 2019-01-08 608/week @ 2019-01-15 464/week @ 2019-01-22 618/week @ 2019-01-29 619/week @ 2019-02-05 556/week @ 2019-02-12 468/week @ 2019-02-19 576/week @ 2019-02-26 563/week @ 2019-03-05 535/week @ 2019-03-12 479/week @ 2019-03-19 482/week @ 2019-03-26 472/week @ 2019-04-02 558/week @ 2019-04-09

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

Unlicense/MIT

154KB
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
~33K SLoC