Re: Ruby script to process html

2012-11-09 Thread Robert Klemme
On Fri, Nov 9, 2012 at 2:14 PM, wrote: > Am 09.11.2012 09:08, schrieb Robert Klemme: > > I find processing tag structures with line oriented tools pretty uncool. >> :-) In fact it's also error prone like you state yourself: >> > > Robert, that's exactly what I wanted to convey to the OP, > than

Re: Ruby script to process html

2012-11-09 Thread Robert Klemme
On Fri, Nov 9, 2012 at 7:09 AM, wrote: > Am 09.11.2012 03:28, schrieb Mario Trento: > > Depending on the formatting etc. of the real data, this could > get pretty difficult, but for your simple example data > iterating over the lines and using a regular expression > (with a named capture group) w