I need regex for matching a double quote character " but not if it is preceded by a backslash i.e. \".
I got to [^\\]" but it's selecting two characters: " and whatever (except \ ) is in front, and I just need " character to be selected.
I need to parse the line from the stream that would look like this:
command "string1" "string2" string can contain spaces and escaped double-quotes. I need to split it so that I get command, string1 and string2 as array.
Thanks in advance