Re: [Tutor] Parsing a multi-line/record text file

2012-11-13 Thread wolfrage8...@gmail.com
On Sun, Nov 11, 2012 at 6:01 AM, Marc wrote: > ** > > Hello, > > I am trying to parse a text file with a structure that looks like: > > [record: Some text about the record] > > Attribute 1 = Attribute 1 text > > Attribute 3 = Attribute 3 text > > Attribute 4 = Attribute 4

Re: [Tutor] Parsing a multi-line/record text file

2012-11-10 Thread Dave Angel
On 11/11/2012 12:01 AM, Marc wrote: > Hello, > > I am trying to parse a text file with a structure that looks like: > > [record: Some text about the record] So the record delimiter starts with a left bracket, in first column? And all lines within the record are indented? Use this fact. >