From: "Daniel Völkerts" Date: 2004-08-17T01:01:03+09:00 Subject: Re: Rubish Way of extracting elements Daniel V�lkerts wrote: > I feel sorry, 'I started writting..' is the correct way. What the hell, writting is also wrong, tzzz. Too much caffeine in my head! After I posted the above thread I have written this line pri,timestamp,device,msg = aMsg.scan(/<\d{1,5}>|\w{3,} \d\d \d\d:\d\d:\d\d|\w+/) Is this the right way? Please feel free to post comments. I'll looking for it to improve my ruby skills. -- Daniel V�lkerts :: "Ich habe einen Drachen, und ich WERDE ihn benutzen!" - Esel in Shrek