Lines Matching refs:captures
196 /// You should only use `captures` if you need access to the location of
212 /// let caps = re.captures(text).unwrap();
235 /// let caps = re.captures(text).unwrap();
255 pub fn captures<'t>(&self, text: &'t [u8]) -> Option<Captures<'t>> {
391 /// captures corresponding to a match. This allows one to access capturing
519 // unwrap on 0 is OK because captures only reports matches
601 /// This is like `captures`, but uses
665 /// Returns the number of captures.
812 /// An iterator over the names of all possible captures.
931 /// let caps = re.captures(b"abc123").unwrap();
1125 /// be beneficial to avoid finding sub-captures.