in reply to RecDescent, flushing/skipping stuff
yep, i know I can use regex to do that.. what also I know is that for example I used regexes to parse dhcpd.conf file.. yes it worked fine, but even the little change to it has caused me trouble rewriting.. So yes i try this a little bit to get more confortable with RecDescent, but also for easy support & extension... :")
As u saw this is output from linux "Traffic control" and it can be quite different for classes, qdiscs, filters and then iptables and so on...
A couple of grammars will work better than regexes (not faster, but ..).....
thanx for your comments, i've figured how to do it...