Lines Matching refs:index
91 /// indices**. Every byte index is guaranteed to be at a Unicode code point
272 /// // You can also access the groups by index using the Index notation.
273 /// // Note that this will panic on an invalid index.
414 /// `name` may be an integer corresponding to the index of the
420 /// or isn't a valid index), then it is replaced with the empty string.
423 /// group named `1a` and not the capture group at index `1`. To exert more
914 /// index corresponds to the next capture group in the regex. If a capture
929 /// Returns the match associated with the capture group at index `i`. If
970 /// `name` may be an integer corresponding to the index of the capture
976 /// or isn't a valid index), then it is replaced with the empty string.
980 /// capture group at index `1`. To exert more precise control over the
1013 // allocation to build a reverse index.
1029 /// Get a group by index.
1039 /// If there is no group at the given index.
1043 fn index(&self, i: usize) -> &str {
1046 .unwrap_or_else(|| panic!("no group at index '{}'", i))
1053 /// of the group name (the index).
1065 fn index<'a>(&'a self, name: &'i str) -> &'a str {