Next / Previous / Contents / Shipman's homepage

7.7. dblQuotedString: String enclosed in "..."

The variable pp.dblQuotedString is a parser that matches a string enclosed in double-quote (“"”) characters. The sequence “\"” within the text is not interpreted as an internal double-quote character.

>>> text = '"Gannet on a stick"'
>>> print pp.dblQuotedString.parseString(text)
['"Gannet on a stick"']