[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.
This commit is contained in:
Nobuyoshi Nakada 2023-11-14 13:53:59 +09:00
parent e020eb26f0
commit caa9881fde
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465
5 changed files with 42 additions and 43 deletions

4
re.c
View file

@ -538,7 +538,7 @@ static VALUE rb_reg_str_with_term(VALUE re, int term);
*
* The returned string may be used as an argument to Regexp.new,
* or as interpolated text for a
* {Regexp interpolation}[rdoc-ref:regexp.rdoc@Interpolation+Mode]:
* {Regexp interpolation}[rdoc-ref:Regexp@Interpolation+Mode]:
*
* r1 = Regexp.new(s0) # => /(?ix-m:ab+c)/
* r2 = /#{s0}/ # => /(?ix-m:ab+c)/
@ -4692,7 +4692,7 @@ rb_reg_timeout_get(VALUE re)
/*
* Document-class: Regexp
*
* :include: doc/regexp.rdoc
* :include: doc/_regexp.rdoc
*/
void