cdepillabout/pretty-simple

The parser fails to parse strings with escaped quotation marks

anka-213 opened this issue · 2 comments

Currently, escaped quotation marks within strings are interpreted as the end of a string.
For example, if show gave this:

Foo "hello \" world!"

The parser would give back:

> parseExprs "Foo \"hello \\\"world!\""
([Other "Foo ",StringLit "hello \\",Other "world!",StringLit ""],"")

instead of the expected

([Other "Foo ",StringLit "hello \\\" world!"],"")

Would be great if you could push 2.2.0.1 to hackage to include this fix. :)