error dir1/dir2/dir3 13 "It's odd to aa bool type value with aa of 0: (bufferProducer == 0) != 0."
期望變成: error\ \dir1/dir2/dir3\ \13\"It\'s\ \odd\ \to\ \aa\ \bool\ \type\ \value\ \with\ \aa\ \of\ \0\:\ \\(bufferProducer\ \\=\= 0\)\ \\!\=\ \0\.\"
對所有的特殊字符和空格轉義,感謝
uj5u.com熱心網友回復:
請問有大神解救嗎? 非常感謝!uj5u.com熱心網友回復:
你所說的特殊字符是什么字符?uj5u.com熱心網友回復:
所有的 ~!@#$%^&*()_+-*/<>,.[]\/ 還有空格
,只要能變成期望的就可以了
error\ \dir1/dir2/dir3\ \13\"It\'s\ \odd\ \to\ \aa\ \bool\ \type\ \value\ \with\ \aa\ \of\ \0\:\ \\(bufferProducer\ \\=\= 0\)\ \\!\=\ \0\.\"
uj5u.com熱心網友回復:
最簡單的方法就是把特殊字符寫到一個串中,遍歷它的時候不停的替換原始字串轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/19827.html
上一篇:關于python字典的問題求教
下一篇:vscode使用Perl插件問題
