From: apeiros@... Date: 2009-11-10T12:35:02+09:00 Subject: Re: FileString - request for comments -------- Original-Nachricht -------- > Datum: Tue, 10 Nov 2009 06:25:08 +0900 > Von: Robert Klemme > Betreff: Re: FileString - request for comments > A good point! You're probably right and I was too pessimistic. I'd > love to see > > fs[/foo(\w+)/, 1] = "bar" I just noticed that I actually didn't have that functionality in. I added it now in the way described in the earlier reply. Also a small correction of one of my earlier statements (typo): You can use File.read or FileString#to_s (or to_str) instead of the FileString instance. FileString#to_s returns the contents of the file. Regards Stefan -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser