Struct broot::pattern::ContentRegexPattern [−][src]
pub struct ContentRegexPattern { /* fields omitted */ }
Expand description
A regex for searching in file content
Implementations
pub fn try_get_content_match(
&self,
path: &Path,
desired_len: usize
) -> Result<Option<ContentMatch>>
get the line of the first match, if any
get the line of the first match, if any
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ContentRegexPattern
impl Send for ContentRegexPattern
impl Sync for ContentRegexPattern
impl Unpin for ContentRegexPattern
impl UnwindSafe for ContentRegexPattern
Blanket Implementations
Mutably borrows from an owned value. Read more