[Pyparsing] bnf.ignore Problem
Brought to you by:
ptmcg
From: Michael B. <mic...@we...> - 2005-01-19 14:46:10
|
Hi, I am trying to ignore the following :prol. lotta crap and stuff :eprol. esfComment = (Literal (":prol.") + ZeroOrMore( ?????????????????????????? ) + Literal (":eprol.") ).streamline ().setName("esfComment") ?????????????????? Stands for the question : What do I need here ? Somewhat similar to the following _working_ example ebnfComment = ( "(*" + ZeroOrMore( CharsNotIn("*") | ( "*" + ~Literal(")") ) ) + "*)" ).streamline().setName("ebnfComment") Regards Michael |