Lines Matching refs:index
216 /// // You can also access the groups by index using the Index notation.
217 /// // Note that this will panic on an invalid index.
362 /// `name` may be an integer corresponding to the index of the
368 /// or isn't a valid index), then it is replaced with the empty string.
371 /// group named `1a` and not the capture group at index `1`. To exert more
904 /// index corresponds to the next capture group in the regex. If a capture
919 /// Returns the match associated with the capture group at index `i`. If
960 /// `name` may be an integer corresponding to the index of the capture
966 /// or isn't a valid index), then it is replaced with the empty string.
970 /// capture group at index `1`. To exert more precise control over the
1018 // allocation to build a reverse index.
1034 /// Get a group by index.
1044 /// If there is no group at the given index.
1048 fn index(&self, i: usize) -> &[u8] {
1051 .unwrap_or_else(|| panic!("no group at index '{}'", i))
1058 /// of the group name (the index).
1070 fn index<'a>(&'a self, name: &'i str) -> &'a [u8] {