I'm trying to fix this regex, it's meant to match any string of characters except unescaped quotation marks and unescaped newline characters:
([^"]|\\"|[^\n]|\\n)*
Would anyone mind helping out?
For example I would want to match:
The cow jumped over the \\"moon
but not:
The cow jumped over the "moon
Same for newlines