If you want to preserve the quotation marks, then this is just how to do it.
From: Sebastian Wain [mailto:sebastian.wain@...]
Sent: Saturday, April 28, 2012 12:53 PM
Subject: Re: [Pyparsing] Issue with sexpparser example
Changing the line with: qString =
to: qString = Group(Optional(decimal,default=None)("len") +
Works fine. There are any other issue with this change?
I found that parsing '(a b c)' gives the same result of parsing '(a b "c")'
and this can be problematic since c is different than "c". Is that correct?
I think the correct result will be to result in an string.