# HG changeset patch # User catherine@dellzilla # Date 1227216857 18000 # Node ID 17fa16ca832995370353e0785d79fcd5bdf4e478 # Parent 01ad9cd681a7c825762495599ee4c2430754ee3c all but ignore seems to work diff -r 01ad9cd681a7 -r 17fa16ca8329 ignoreBug.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ignoreBug.py Thu Nov 20 16:34:17 2008 -0500 @@ -0,0 +1,5 @@ +import pyparsing +statementParser = pyparsing.Combine(pyparsing.Word(pyparsing.printables)('command') + + pyparsing.SkipTo('|' + pyparsing.stringEnd)('args') + )('statement') +print statementParser.parseString('hello there /* you | fish */ box').dump() \ No newline at end of file