From: Sam Roberts Date: 2003-06-16T22:55:16+09:00 Subject: Re: /BEGIN/ .. /END/ file reading If you're looking for a vcard decoder/encoder, I wrote one, and you can find it on the RAA: http://raa.ruby-lang.org/list.rhtml?name=vcard It will decode a file into an array of vcards, and deal with things like the begin: and end: are case-insensitive, and there can be whitespace around the tokens. Cheers, Sam Quoteing kh.wild@wicom.li, on Mon, Jun 16, 2003 at 08:34:14PM +0900: > hello > > i know that it works, > but not how :-) > > cat vcard | ruby parse.rb > > while vblk = ( /BEGIN:VCARD/ .. /END:VCARD/ ) > ... > end > > i whould need a hint. > > thanks > > best regards > karl-heinz > >