in reply to Re: Parse structured text using regex
in thread Parse structured text using regex
What I am looking for is this:[ [["global_model", "CAR"]], [ [ "pairs", "\nMODEL", "Make=Mustang", "Quality=A", "Speed=\nMODEL", "Chevy=Cavalier\nMODEL\n", "Color=blue", "type=hatchback", "crashrating=spectacular\n", "explodes=true", "speed=", "storage=none,little\n", ], ], ]
Maybe I am missing something...?{ CAR => [ { MODEL => { Make => "Mustang", Quality => "A", Speed => un +def } }, { MODEL => { Chevy => "Cavalier" } }, { MODEL => { Color => "Blue", crashrating => "spectacular", explodes => "true", speed => undef, storage => "none,little", type => "hatchback", }, }, ], }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Parse structured text using regex
by kcott (Archbishop) on Mar 17, 2014 at 05:42 UTC | |
by trippledubs (Deacon) on Mar 17, 2014 at 19:17 UTC | |
by kcott (Archbishop) on Mar 17, 2014 at 22:55 UTC |