[EMAIL PROTECTED] (Uri Guttman) writes: > actually i just had another thought. you don't need any of the $foo := > stuff as the match tree will have it all for you.
Yes, but it's nice to be able to access the captured things by name. Or should I be saying things like rule raiddev { <comment>* <sp>* "raiddev" <sp>+ <name> <comm_eol> (<devicelayout> | <option> | <comment>)+ }; rule name { /dev/md\d+ } > their names. also if you use a scalar to grab something which is in a > quantified outer rule what is put in the var? a ref to a list of the > grabbed things? *nod* Something I'd like to know. -- "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers