-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redefine 失败 #23
Comments
最初使用 replace("$","\$") mac 没有问题 windows有问题 https://blog.csdn.net/xrt95050/article/details/6651571 (替换$ 为 $ )要把 $ 替换成 $ ,则要使用 \\\& 来替换,因为一个 \ 要使用 \\ 来进行替换,而一个 $ 要使用 \$ 来进行替换,因 \ 与 $ 在作为替换内容时都属于特殊字符:$ 字符表示反向引用组,而 \ 字符又是用来转义 $ 字符的. 为什么要转义 shell 脚本执行的时候这个字符特殊不能直接使用 |
下个版本升级 改造掉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
生成redefine语句的时候失败,截图如下
The text was updated successfully, but these errors were encountered: