From: bruceb3@... Date: 2003-10-03T15:55:47+09:00 Subject: Re: String#gsub bug? On Fri, Oct 03, 2003 at 03:34:46PM +0900, Gavin Sinclair wrote: > "xyz".gsub(/[ \t]*$/, "") # -> "xyzxyz" > "xyz".gsub(/[ \t]*$/, "F") # -> "xyzFxyz" > > Ruby 1.8.0, Cygwin. I can't reproduce the output you are showing. "xyz".gsub(/[ \t]*$/, "") -> "xyz" "xyz".gsub(/[ \t]*$/, "F") -> "xyzF" [bruceb3@senselss tmp]$ ruby -v ruby 1.8.0 (2003-08-04) [i686-linux] *shrug* The values I am seeing is what I would expect. -bruce.