aboutsummaryrefslogtreecommitdiffstats
path: root/dir.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 /dir.rb
parente020eb26f060d96e332a1beb1001716ddda7a7a6 (diff)
downloadruby-caa9881fde884238e38c2decea97ecfca559280c.tar.gz
[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 'dir.rb')
-rw-r--r--dir.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.rb b/dir.rb
index 7de62da921..632c49eee9 100644
--- a/dir.rb
+++ b/dir.rb
@@ -320,7 +320,7 @@ class Dir
# Dir.glob('io.?') # => ["io.c"]
#
# - <tt>'[_set_]'</tt>: Matches any one character in the string _set_;
- # behaves like a {Regexp character class}[rdoc-ref:regexp.rdoc@Character+Classes],
+ # behaves like a {Regexp character class}[rdoc-ref:Regexp@Character+Classes],
# including set negation (<tt>'[^a-z]'</tt>):
#
# Dir.glob('*.[a-z][a-z]').take(3)
@@ -328,7 +328,7 @@ class Dir
#
# - <tt>'{_abc_,_xyz_}'</tt>:
# Matches either string _abc_ or string _xyz_;
- # behaves like {Regexp alternation}[rdoc-ref:regexp.rdoc@Alternation]:
+ # behaves like {Regexp alternation}[rdoc-ref:Regexp@Alternation]:
#
# Dir.glob('{LEGAL,BSDL}') # => ["LEGAL", "BSDL"]
#