From: J J Date: 2001-05-08T09:41:24+09:00 Subject: [ruby-talk:14832] Re: Completely freaky behavior I'm working on RubyDoc. My RegExp was doing something like so: case line when /\s*@author\s+(.*)/ @author = $1 ... I was then testing the program on itself, so when it saw the line @author = $1, it was setting @author to "= $1". In another section of the program, I was setting @author = nil, with the same effect. Changing the RegExp to /\s*#\s+@author\s+(.*)/ solved the problem. Incidentally, RubyDoc is coming along quite well, I'll post a note about it. Thanks for the replies! JJ -- Be Kind, Be Careful, Be Yourself -- Solid, reliable software at reasonable prices http://www.johnjohnsonsoftware.com "Yukihiro Matsumoto" wrote in message news:989257776.564298.31116.nullmailer@ev.netlab.zetabits.com... > In message "[ruby-talk:14787] Re: Completely freaky behavior" > on 01/05/08, "J J" writes: > > |Funny how you post and then find the solution. Thanks to Dave! > > Could you tell me what happened? Share your experience, please. > > matz. >