diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-11-14 13:53:59 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-11-14 15:56:57 +0900 |
commit | caa9881fde884238e38c2decea97ecfca559280c (patch) | |
tree | e3049b4435d862ebfea84430b2eee3ca6a7a3383 /dir.rb | |
parent | e020eb26f060d96e332a1beb1001716ddda7a7a6 (diff) | |
download | ruby-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.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"] # |