first group matches quoted strings second group plain text, arguments are separated with a space. example: "this is a "string"" thisisnot "another "string" with a backslash "\"" just replace " with " after matching.