On 03/10/05, Collins, Justin <collinsj / seattleu.edu> wrote:
> Hi,
>
> I'm guessing the reason it worked after splitting and not before is due to you not using a multiline regexp.
> I believe in 1.8 regexp was changed to automatically be multi-line...if I recall correctly.
> So it would have to be like gsub(/\n/m,"")
>

I don't think so. The /m option more or less only turns on that .
matches newline, so /\n/ and /\n/m would work alike.

regards,

Brian

--
http://ruby.brian-schroeder.de/

Stringed instrument chords: http://chordlist.brian-schroeder.de/