Skip to content

Parsing code #63

@drekka

Description

@drekka

Hi, I'm looking at Patterns to try and pass strings that contain small chunks of source code. I'm trying to work out if I can get it to pass a string that looks like this:

x = "abc"

The part I'm troubled with is the string declaration and I'm not sure if Patterns can handle a pattern where I need a double quote following by any number of characters and ending with a second double quote.

The value "abc" seems pretty straight forwards. But what if it contains a double quote. i.e "a\"bc".

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions