summaryrefslogtreecommitdiff
path: root/string.rb
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2023-06-20 08:28:21 -0500
committerGitHub <noreply@github.com>2023-06-20 09:28:21 -0400
commit932dd9f10e684fa99b059054fbc934607d85b45a (patch)
treed6324bbcd2eeba6eb8a69af68235235551f9ca98 /string.rb
parent6be402e172a537000de58a28af389cb55dd62ec8 (diff)
[DOC] Regexp doc (#7923)
Notes
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
Diffstat (limited to 'string.rb')
-rw-r--r--string.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.rb b/string.rb
index be10b407b0..e1f55d17b4 100644
--- a/string.rb
+++ b/string.rb
@@ -278,7 +278,7 @@
# If argument +capture+ is given and not <tt>0</tt>,
# it should be either an capture group index (integer)
# or a capture group name (string or symbol);
-# the slice is the specified capture (see Regexp@Capturing):
+# the slice is the specified capture (see Regexp@Groups+and+Captures):
#
# s = 'hello there'
# s[/[aeiou](.)\1/, 1] # => "l"