On Nov 25, 2004, at 17:05, Michael Neumann wrote: > > I very like the new section feature of rdoc... > > But when I use it with the newest version of ruby from CVS (ruby 1.9.0 > (2004-11-26) [i386-dragonfly1.1]) and the following file: > > RDoc failure in rdoc-test.rb at or around line 3 column 0 Wow - I see that too. Must be some new checking added to gsub. Rather than dup the string, I think I've fixed it by simply terminating the loop early in the case where it comes across :section: (the handling is special, because I want to force the comment to appear in the section header, and not as the comment for any subsequent class or method). Anyway, the lastest CVS should fix it (but I'd appreciate any feedback). Cheers Dave