README.md (ripgrep-12.1.1) | : | README.md (ripgrep-13.0.0) | ||
---|---|---|---|---|
grep-pcre2 | grep-pcre2 | |||
---------- | ---------- | |||
The `grep-pcre2` crate provides an implementation of the `Matcher` trait from | The `grep-pcre2` crate provides an implementation of the `Matcher` trait from | |||
the `grep-matcher` crate. This implementation permits PCRE2 to be used in the | the `grep-matcher` crate. This implementation permits PCRE2 to be used in the | |||
`grep` crate for fast line oriented searching. | `grep` crate for fast line oriented searching. | |||
[](https: | []( | |||
//travis-ci.org/BurntSushi/ripgrep) | https://github.com/BurntSushi/ripgrep/actions) | |||
[](https://ci.appveyor.com/project/BurntSushi/ripgrep) | ||||
[](https://crates.io/crates/g rep-pcre2) | [](https://crates.io/crates/g rep-pcre2) | |||
Dual-licensed under MIT or the [UNLICENSE](http://unlicense.org). | Dual-licensed under MIT or the [UNLICENSE](https://unlicense.org/). | |||
### Documentation | ### Documentation | |||
[https://docs.rs/grep-pcre2](https://docs.rs/grep-pcre2) | [https://docs.rs/grep-pcre2](https://docs.rs/grep-pcre2) | |||
**NOTE:** You probably don't want to use this crate directly. Instead, you | **NOTE:** You probably don't want to use this crate directly. Instead, you | |||
should prefer the facade defined in the | should prefer the facade defined in the | |||
[`grep`](https://docs.rs/grep) | [`grep`](https://docs.rs/grep) | |||
crate. | crate. | |||
skipping to change at line 34 | skipping to change at line 33 | |||
crate, which provide high level safe bindings to PCRE2. | crate, which provide high level safe bindings to PCRE2. | |||
### Usage | ### Usage | |||
Add this to your `Cargo.toml`: | Add this to your `Cargo.toml`: | |||
```toml | ```toml | |||
[dependencies] | [dependencies] | |||
grep-pcre2 = "0.1" | grep-pcre2 = "0.1" | |||
``` | ``` | |||
and this to your crate root: | ||||
```rust | ||||
extern crate grep_pcre2; | ||||
``` | ||||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 3 lines changed or added |