Collision with two lines of code make code does not work the way it is meant by me, what could I do different to get this work(?)

大兔子大兔子 提交于 2019-12-11 00:21:45

问题


Try running the following code yourself, and you would notice that "can't" changes to "CAN't", but I want it to change it to "CAN NOT". On the other hand, I want to keep the 1.st line of code, which changes "can" to "CAN". How could I achieve this(?)

::can::CAN
::can't::CAN NOT

回答1:


You must remove ' from defaults ending characters

#Hotstring EndChars -()[]{}:;"/\,.?!`n `t
::can::CAN
::can't::CAN NOT


来源:https://stackoverflow.com/questions/56533561/collision-with-two-lines-of-code-make-code-does-not-work-the-way-it-is-meant-by

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!