"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "crates/pcre2/src/matcher.rs" between
ripgrep-12.1.1.tar.gz and ripgrep-13.0.0.tar.gz

About: ripgrep is a command line search tool ("rg") that tries to combine the usability of "ag" (an "ack" clone) with the raw speed of GNU "grep" (written in "Rust").

matcher.rs  (ripgrep-12.1.1):matcher.rs  (ripgrep-13.0.0)
use std::collections::HashMap; use std::collections::HashMap;
use grep_matcher::{Captures, Match, Matcher}; use grep_matcher::{Captures, Match, Matcher};
use pcre2::bytes::{CaptureLocations, Regex, RegexBuilder}; use pcre2::bytes::{CaptureLocations, Regex, RegexBuilder};
use error::Error; use crate::error::Error;
/// A builder for configuring the compilation of a PCRE2 regex. /// A builder for configuring the compilation of a PCRE2 regex.
#[derive(Clone, Debug)] #[derive(Clone, Debug)]
pub struct RegexMatcherBuilder { pub struct RegexMatcherBuilder {
builder: RegexBuilder, builder: RegexBuilder,
case_smart: bool, case_smart: bool,
word: bool, word: bool,
} }
impl RegexMatcherBuilder { impl RegexMatcherBuilder {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)