Basically, unless the -a/--text flag is given, it is generally always an error to search for an explicit NUL byte because the binary detection will prevent it from matching. Fixes #1838
19 lines
323 B
Rust
19 lines
323 B
Rust
/*!
|
|
An implementation of `grep-matcher`'s `Matcher` trait for Rust's regex engine.
|
|
*/
|
|
#![deny(missing_docs)]
|
|
|
|
pub use crate::{
|
|
error::{Error, ErrorKind},
|
|
matcher::{RegexCaptures, RegexMatcher, RegexMatcherBuilder},
|
|
};
|
|
|
|
mod ast;
|
|
mod ban;
|
|
mod config;
|
|
mod error;
|
|
mod literal;
|
|
mod matcher;
|
|
mod non_matching;
|
|
mod strip;
|