comparison ignoreBug.py @ 149:17fa16ca8329

all but ignore seems to work
author catherine@dellzilla
date Thu, 20 Nov 2008 16:34:17 -0500
parents
children cc569f68a478
comparison
equal deleted inserted replaced
148:01ad9cd681a7 149:17fa16ca8329
1 import pyparsing
2 statementParser = pyparsing.Combine(pyparsing.Word(pyparsing.printables)('command') +
3 pyparsing.SkipTo('|' + pyparsing.stringEnd)('args')
4 )('statement')
5 print statementParser.parseString('hello there /* you | fish */ box').dump()