Skip to content

Commit 1e73844

Browse files
BurdetteLamarpeterzhu2118
authored andcommitted
[DOC] Link fix for String
1 parent 6a2964d commit 1e73844

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/string.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,8 @@
280280
# If the argument +capture+ is provided and not <tt>0</tt>,
281281
# it should be either a capture group index (integer)
282282
# or a capture group name (String or Symbol);
283-
# the slice is the specified capture (see Regexp@Groups and Captures):
283+
# the slice is the specified capture
284+
# (see {Groups and Captures}[rdoc-ref:Regexp@Groups+and+Captures]):
284285
#
285286
# s = 'hello there'
286287
# s[/[aeiou](.)\1/, 1] # => "l"

0 commit comments

Comments
 (0)