From: William James Date: 2005-01-23T02:30:55+09:00 Subject: Re: Raw Elements trans. wrote: > P.S. FYI, I figured out that you can just use a "margin" character in > order to preserve indention. Thanks; I didn't think of that. .. def shatter( s, re ) .. s.gsub( re, "\1"+'\&'+"\1" ).split("\1") .. end