Question: I'm trying to find all of the quoted text on a single line.

Example:

```none
"Some Text"
"Some more Text"
"Even more text about \"this text\""

```

I need to get: 

* `"Some Text"`
* `"Some more Text"`
* `"Even more text about \"this text\""`

`\"[^\"\r]*\"` gives me everything except for the last one, because of the escaped quotes.

I have read about `\"[^\"\\]*(?:\\.[^\"\\]*)*\"` working, but I get an error at run time:

```none
parsing ""[^"\]*(?:\.[^"\]*)*"" - Unterminated [] set.

```

How do I fix this?

Answer: 
I know this isn't the cleanest method, but with your example I would check the character before the `"` to see if it's a `\`. If it is, I would ignore the quote.
Any chance you need to do: `\"[^\"\\\\]*(?:\\.[^\"\\\\]*)*\"`