Re: [Pyparsing] Dealing with blocks in different order
Brought to you by:
ptmcg
From: Hans M. <han...@gm...> - 2015-04-21 06:58:58
|
Hi, Am 21.04.2015 um 07:41 schrieb john grant <joh...@ya...>: > I've been stuck on the same thing. I think I know the answer, … that example has parsers defined for each type of member (e.g. single variable, array, pointer, etc), and then there is a single parser that ORs each of the other parsers together, and the matches get inserted into a container (i.e. OneOrMore). Exactly that is how I would express it: OneOrMore(Video | Audio) Or is there anything I am missing? Best regards, Hans |