我试图在一行中找到所有引用的文本.
例:
"Some Text"
"Some more Text"
"Even more text about \"this text\""
Run Code Online (Sandbox Code Playgroud)
我需要得到:
"Some Text""Some more Text""Even more text about \"this text\""\"[^\"\r]*\" 除了最后一个之外,它给了我所有的东西,因为有报道.
我已阅读有关\"[^\"\\]*(?:\\.[^\"\\]*)*\"工作的信息,但在运行时遇到错误:
parsing ""[^"\]*(?:\.[^"\]*)*"" - Unterminated [] set.
Run Code Online (Sandbox Code Playgroud)
我该如何解决?