summaryrefslogtreecommitdiffstats
path: root/crates/regex/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/regex/src/lib.rs')
-rw-r--r--crates/regex/src/lib.rs28
1 files changed, 28 insertions, 0 deletions
diff --git a/crates/regex/src/lib.rs b/crates/regex/src/lib.rs
new file mode 100644
index 00000000..91fe93b1
--- /dev/null
+++ b/crates/regex/src/lib.rs
@@ -0,0 +1,28 @@
+/*!
+An implementation of `grep-matcher`'s `Matcher` trait for Rust's regex engine.
+*/
+
+#![deny(missing_docs)]
+
+extern crate aho_corasick;
+extern crate grep_matcher;
+#[macro_use]
+extern crate log;
+extern crate regex;
+extern crate regex_syntax;
+extern crate thread_local;
+
+pub use error::{Error, ErrorKind};
+pub use matcher::{RegexCaptures, RegexMatcher, RegexMatcherBuilder};
+
+mod ast;
+mod config;
+mod crlf;
+mod error;
+mod literal;
+mod matcher;
+mod multi;
+mod non_matching;
+mod strip;
+mod util;
+mod word;