File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ impl Regex {
246
246
///
247
247
/// Here we name the capture groups, which we can access with the `name`
248
248
/// 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
250
250
/// with a `usize`.
251
251
///
252
252
/// The `0`th capture group is always unnamed, so it must always be
@@ -763,7 +763,7 @@ impl<'r> Iterator for CaptureNames<'r> {
763
763
/// index corresponds to the next capture group in the regex. If a capture
764
764
/// group is named, then the matched byte string is *also* available via the
765
765
/// `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.)
767
767
///
768
768
/// Positions returned from a capture group are always byte indices.
769
769
///
Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ impl Regex {
321
321
///
322
322
/// Here we name the capture groups, which we can access with the `name`
323
323
/// 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
325
325
/// with a `usize`.
326
326
///
327
327
/// The `0`th capture group is always unnamed, so it must always be
@@ -901,7 +901,7 @@ impl<'n> Iterator for NamedGroupsIter<'n> {
901
901
/// index corresponds to the next capture group in the regex. If a capture
902
902
/// group is named, then the matched string is *also* available via the `name`
903
903
/// 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.)
905
905
///
906
906
/// Positions returned from a capture group are always byte indices.
907
907
///
You can’t perform that action at this time.
0 commit comments