Re: pyparsing: parseString confusion

2005-03-11 Thread infidel
I've notice the same thing. It seems that it will return as much as it can that matches the grammar and just stop when it encounters something it doesn't recognize. -- http://mail.python.org/mailman/listinfo/python-list

pyparsing: parseString confusion

2005-03-11 Thread Peter Fein
My understanding of parseString seems flawed: I thought the grammar must match the string in its entirety, based on the following from the howto: "scanString allows you to scan through the input source string for random matches, instead of exhaustively defining the grammar for the entire source te