diff options
Diffstat (limited to 'crates/pcre2/src/lib.rs')
-rw-r--r-- | crates/pcre2/src/lib.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/crates/pcre2/src/lib.rs b/crates/pcre2/src/lib.rs new file mode 100644 index 00000000..d7cb0156 --- /dev/null +++ b/crates/pcre2/src/lib.rs @@ -0,0 +1,16 @@ +/*! +An implementation of `grep-matcher`'s `Matcher` trait for +[PCRE2](https://www.pcre.org/). +*/ + +#![deny(missing_docs)] + +extern crate grep_matcher; +extern crate pcre2; + +pub use error::{Error, ErrorKind}; +pub use matcher::{RegexCaptures, RegexMatcher, RegexMatcherBuilder}; +pub use pcre2::{is_jit_available, version}; + +mod error; +mod matcher; |