pub fn find_all<'a, 'b>(pattern: &'b [u8], text: &'a [u8]) -> Matches<'a> {
    let bndm = BNDM::new(pattern);
    Matches {
        window: bndm.m,
        bndm,
        text,
    }
}
/// Find all matches of pattern with a given text. Matches are returned as iterator over start positions.
// Modified to be non-reusable - this makes it easier to return iterators
Find all matches of pattern with a given text. Matches are returned as iterator over start positions.
Modified to be non-reusable - this makes it easier to return iterators
Find all matches of pattern with a given text . Matches are returned as iterator over start positions . Modified to be non - reusable - this makes it easier to return iterators
pub fn find_all<'a, 'b>(pattern: &'b [u8], text: &'a [u8]) -> Matches<'a> {
    let bndm = BNDM::new(pattern);
    Matches {
        window: bndm.m,
        bndm,
        text,
    }
}
pub fn find_all < ' a , ' b > ( pattern : & ' b [ u8 ] , text : & ' a [ u8 ] ) -> Matches < ' a > { let bndm = BNDM :: new ( pattern ) ; Matches { window : bndm . m , bndm , text , } }
Find all matches of pattern with a given text.
Find all matches of pattern with a given text .
pattern
&'b [u8]
text
&'a [u8]
pattern
&'b [u8]
text
&'a [u8]