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.
我想解析引号中的任何符号。我可以这样解析单词。应该如何看待任何符号的正则表达式?
$alpha=[a-zA-Z] \"$alpha+\" { \s -> TText (pack s) }
. - 是任何符号
\".*\" { \s -> TText (pack s) }