Skip to content

Instantly share code, notes, and snippets.

/escChar.patch Secret

Created March 8, 2015 15:39
Show Gist options
  • Save anonymous/594ae367f91ace739f1c to your computer and use it in GitHub Desktop.
Save anonymous/594ae367f91ace739f1c to your computer and use it in GitHub Desktop.
Issue attachments for pydot/pydot-ng#82: https://github.com/pydot/pydot-ng/issues/82
@@ -412,7 +412,7 @@
identifier = Word(alphanums + "_." ).setName("identifier")
- double_quoted_string = QuotedString('"', multiline=True, unquoteResults=False) # dblQuotedString
+ double_quoted_string = QuotedString('"', multiline=True, escChar='\\', unquoteResults=False) # dblQuotedString
alphastring_ = OneOrMore(CharsNotIn(_noncomma + ' '))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment