Skip to content

The parser fails to parse strings with escaped quotation marks #40

@anka-213

Description

@anka-213

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!"],"")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions