From: Glenn Parker Date: 2004-12-09T22:19:55+09:00 Subject: Re: [rcr] String#split behaves odd trans. (T. Onoma) wrote: > On Wednesday 08 December 2004 10:00 am, Florian Frank wrote: > | > | "abc\n\ndef\nghi".split(/\n+/) > > Sorry, what are you pointing out here? It is impossible to have perfect forwards-backwards symmetry with split and join. When the split pattern matches more than one possible string of characters, there is no way to join the results of the split and recover the original input. -- Glenn Parker | glenn.parker-AT-comcast.net |