Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试编写一个识别字符串文字的 .flex 文件,该字符串是由双引号括起来的字符序列。没有转义字符,但我无法识别它们,这是我的最新尝试。
\"(\\.|[^"])*\"
有什么建议么
你可以改用
\"(.[^\"]*)\"