From: Eric Hodel Date: 2011-10-25T06:40:51+09:00 Subject: Re: [ANN] rdoc 3.10 Released On Oct 24, 2011, at 8:26 AM, Matt Neuburg wrote: > Take a peek at this page: > > http://ruby-doc.org/core-1.8.7/MatchData.html > > Look at the first instance method, #[]: > > ?mtch is equivalent to the special variable $&, and returns the entire > matched string. mtch, mtch, and so on return the values of the matched > backreferences " > > Those nonsensical-looking, repeated "mtch" should be mtch[0], mtch[1], > mtch[2] etc., but the [n] is getting eaten and turned into a false > hyperlink. > > I pointed this out via email to James Britt, who confirms that this > might be something RDoc is doing; is that possible? If so, is a fix > possible? (Perhaps not, since this might just be a source code comment > that wasn't expecting RDoc to come along and try to reformat as HTML...) Perhaps, please file a bug as Ryan said so I can look into a fix. In the mean time I've changed the markup: http://redmine.ruby-lang.org/projects/ruby-trunk/repository/revisions/33522