File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ impl Regex {
246246 ///
247247 /// Here we name the capture groups, which we can access with the `name`
248248 /// method or the `Index` notation with a `&str`. Note that the named
249- /// capture groups are still accessible with `at ` or the `Index` notation
249+ /// capture groups are still accessible with `get ` or the `Index` notation
250250 /// with a `usize`.
251251 ///
252252 /// The `0`th capture group is always unnamed, so it must always be
@@ -763,7 +763,7 @@ impl<'r> Iterator for CaptureNames<'r> {
763763/// index corresponds to the next capture group in the regex. If a capture
764764/// group is named, then the matched byte string is *also* available via the
765765/// `name` method. (Note that the 0th capture is always unnamed and so must be
766- /// accessed with the `at ` method.)
766+ /// accessed with the `get ` method.)
767767///
768768/// Positions returned from a capture group are always byte indices.
769769///
Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ impl Regex {
321321 ///
322322 /// Here we name the capture groups, which we can access with the `name`
323323 /// method or the `Index` notation with a `&str`. Note that the named
324- /// capture groups are still accessible with `at ` or the `Index` notation
324+ /// capture groups are still accessible with `get ` or the `Index` notation
325325 /// with a `usize`.
326326 ///
327327 /// The `0`th capture group is always unnamed, so it must always be
@@ -901,7 +901,7 @@ impl<'n> Iterator for NamedGroupsIter<'n> {
901901/// index corresponds to the next capture group in the regex. If a capture
902902/// group is named, then the matched string is *also* available via the `name`
903903/// method. (Note that the 0th capture is always unnamed and so must be
904- /// accessed with the `at ` method.)
904+ /// accessed with the `get ` method.)
905905///
906906/// Positions returned from a capture group are always byte indices.
907907///
You can’t perform that action at this time.
0 commit comments