P
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 text (as would be required with parseString)"
However
['foo'], {})
I'd expect this to raise an exception. What am I missing here?
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 text (as would be required with parseString)"
However
I'd expect this to raise an exception. What am I missing here?