From: Pit Capitain Date: 2005-08-16T15:15:52+09:00 Subject: Re: ruby style question William James schrieb: > Joe Van Dyk wrote: >>I always thought that it was good to keep line length below 80 >>characters as it helps readability on different devices/screens. But >>I've found that it's difficult to keep that small a line length >>sometimes. > > What makes you think it's difficult? > > puts "Tom Tidler's Ground".scan(/[TG](r)?([aeiou])/).\ > flatten.compact.join In this case you can even omit the backslash. Because of the last dot Ruby knows that the statement isn't finished yet. Regards, Pit