Skip to content
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

表达式处理转义符\\时有问题 #92

Closed
linlay opened this issue Dec 7, 2018 · 1 comment
Closed

表达式处理转义符\\时有问题 #92

linlay opened this issue Dec 7, 2018 · 1 comment
Labels

Comments

@linlay
Copy link

linlay commented Dec 7, 2018

AviatorEvaluator.execute(“‘\’”, scope); // 会有问题
AviatorEvaluator.execute(“‘\ ’”, scope); // 多一个空格就不会有问题 输出 \空格
AviatorEvaluator.execute(“‘\,’”, scope); // 随便多个什么都不会有问题 输出 ,
AviatorEvaluator.execute(“‘\\’”, scope); // 依然有问题

@killme2008 killme2008 added the bug label Dec 29, 2018
@killme2008
Copy link
Owner

已在 4.1.0 中修复,正确的写法是需要四个斜杠 '\\\\'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants