Patterns icon indicating copy to clipboard operation
Patterns copied to clipboard

Parsing code

Open drekka opened this issue 5 months ago • 1 comments

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".

drekka avatar Jan 18 '24 07:01 drekka