mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 01:30:21 -07:00
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;
|