与两行代码的冲突使代码无法按照我的意思工作,请问我可以做些什么来使这项工作(?) [英] 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(?)

查看:87
本文介绍了与两行代码的冲突使代码无法按照我的意思工作,请问我可以做些什么来使这项工作(?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试自己运行以下代码,您会注意到不能"更改为不能",但是我希望它将其更改为不能".另一方面,我想保留第一行代码,将"can"更改为"CAN".我怎么能做到这一点(?)

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

推荐答案

您必须从默认值' "nofollow noreferrer">结尾字符

You must remove ' from defaults ending characters

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

这篇关于与两行代码的冲突使代码无法按照我的意思工作,请问我可以做些什么来使这项工作(?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆