in reply to Re^3: split on commas
in thread split on commas

Thanks!

Replies are listed 'Best First'.
Re^5: split on commas
by tphyahoo (Vicar) on Jun 09, 2009 at 18:06 UTC
    the problem with this approach is that it erroneously accepts input such as
    $_ = "<*2)FOO<2,1>,<*3>(SigB<8:0:2>,BAR),<*2>Siga<2:0>,Sigb<8,7,6,5,0> +";
    (where the first < matches a )

    you really need a parser to do this kind of thing "right".