2018-04-29 09:29:52 -04:00
|
|
|
grep-matcher
|
|
|
|
------------
|
|
|
|
This crate provides a low level interface for describing regular expression
|
|
|
|
matchers. The `grep` crate uses this interface in order to make the regex
|
|
|
|
engine it uses pluggable.
|
|
|
|
|
|
|
|
[](https://travis-ci.org/BurntSushi/ripgrep)
|
|
|
|
[](https://ci.appveyor.com/project/BurntSushi/ripgrep)
|
|
|
|
[](https://crates.io/crates/grep-matcher)
|
|
|
|
|
2020-11-03 07:33:36 -08:00
|
|
|
Dual-licensed under MIT or the [UNLICENSE](https://unlicense.org/).
|
2018-04-29 09:29:52 -04:00
|
|
|
|
|
|
|
### Documentation
|
|
|
|
|
|
|
|
[https://docs.rs/grep-matcher](https://docs.rs/grep-matcher)
|
|
|
|
|
|
|
|
**NOTE:** You probably don't want to use this crate directly. Instead, you
|
|
|
|
should prefer the facade defined in the
|
|
|
|
[`grep`](https://docs.rs/grep)
|
|
|
|
crate.
|
|
|
|
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
Add this to your `Cargo.toml`:
|
|
|
|
|
|
|
|
```toml
|
|
|
|
[dependencies]
|
|
|
|
grep-matcher = "0.1"
|
|
|
|
```
|
|
|
|
|
|
|
|
and this to your crate root:
|
|
|
|
|
|
|
|
```rust
|
|
|
|
extern crate grep_matcher;
|
|
|
|
```
|