[Pyparsing] Re: How to use StringEnd?
Brought to you by:
ptmcg
From: Robert P. <rob...@gm...> - 2005-04-10 19:57:50
|
Being a Python newbie, I wrote: > I tried to use > grammar = Dict( OneOrMore( Group( assignment ) ) ) + StringEnd I just found out that this should be StringEnd() instead. My first steps in a weakly typed language :) Now the grammar matches only when all of the input is consumed. -- Robert Pollak GPG Key ID: E66BE5B1 |