/crates/matcher/README.md

https://github.com/BurntSushi/ripgrep · Markdown · 36 lines · 25 code · 11 blank · 0 comment · 0 complexity · 745b0198b27b9bb0cf797986ebe343ac MD5 · raw file

  1. grep-matcher
  2. ------------
  3. This crate provides a low level interface for describing regular expression
  4. matchers. The `grep` crate uses this interface in order to make the regex
  5. engine it uses pluggable.
  6. [![Linux build status](https://api.travis-ci.org/BurntSushi/ripgrep.svg)](https://travis-ci.org/BurntSushi/ripgrep)
  7. [![Windows build status](https://ci.appveyor.com/api/projects/status/github/BurntSushi/ripgrep?svg=true)](https://ci.appveyor.com/project/BurntSushi/ripgrep)
  8. [![](https://img.shields.io/crates/v/grep-matcher.svg)](https://crates.io/crates/grep-matcher)
  9. Dual-licensed under MIT or the [UNLICENSE](http://unlicense.org).
  10. ### Documentation
  11. [https://docs.rs/grep-matcher](https://docs.rs/grep-matcher)
  12. **NOTE:** You probably don't want to use this crate directly. Instead, you
  13. should prefer the facade defined in the
  14. [`grep`](https://docs.rs/grep)
  15. crate.
  16. ### Usage
  17. Add this to your `Cargo.toml`:
  18. ```toml
  19. [dependencies]
  20. grep-matcher = "0.1"
  21. ```
  22. and this to your crate root:
  23. ```rust
  24. extern crate grep_matcher;
  25. ```