Lines Matching refs:captures
252 /// You should only use `captures` if you need access to the location of
268 /// let caps = re.captures(text).unwrap();
291 /// let caps = re.captures(text).unwrap();
311 pub fn captures<'t>(&self, text: &'t str) -> Option<Captures<'t>> {
443 /// captures corresponding to a match. This allows one to access
545 // captures generally makes the regex engines faster.
577 // unwrap on 0 is OK because captures only reports matches
659 /// This is like `captures`, but uses
677 /// Returns the same as captures, but starts the search at the given
723 /// Returns the number of captures.
744 /// An iterator over the names of all possible captures.
941 /// let caps = re.captures("abc123").unwrap();
1176 /// be beneficial to avoid finding sub-captures.