summaryrefslogtreecommitdiff
path: root/string.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-11-14 13:53:59 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-11-14 15:56:57 +0900
commitcaa9881fde884238e38c2decea97ecfca559280c (patch)
treee3049b4435d862ebfea84430b2eee3ca6a7a3383 /string.rb
parente020eb26f060d96e332a1beb1001716ddda7a7a6 (diff)
[DOC] Fix doc/regexp.rdoc links
- Rename regexp.rdoc to exclude from "Pages". This file is for to be included in the "class Regexp" document, but it also appeared as a separate page duplicately. - Fix links on case-sensitive filesystems. - Fix to use rdoc-ref instead of converted HTML page names.
Diffstat (limited to 'string.rb')
-rw-r--r--string.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/string.rb b/string.rb
index e4de709dc5..137cbe7a88 100644
--- a/string.rb
+++ b/string.rb
@@ -76,7 +76,7 @@
# - <tt>\n</tt> (_n_ a non-negative integer) refers to <tt>$n</tt>.
# - <tt>\k<name></tt> refers to the named capture +name+.
#
-# See rdoc-ref:regexp.rdoc for details.
+# See Regexp for details.
#
# Note that within the string +replacement+, a character combination
# such as <tt>$&</tt> is treated as ordinary text, and not as
@@ -93,7 +93,7 @@
# - <tt>\\+</tt> corresponds to <tt>$+</tt>,
# which contains last capture group.
#
-# See rdoc-ref:regexp.rdoc for details.
+# See Regexp for details.
#
# Note that <tt>\\\\</tt> is interpreted as an escape, i.e., a single backslash.
#