mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[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:
parent
e020eb26f0
commit
caa9881fde
5 changed files with 42 additions and 43 deletions
4
re.c
4
re.c
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue