We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rule "name test" "i can" salience 0 begin name = "abc\"def" end
外部获取 name 的值时 print 出来 为 abc\"def 而不是 abc"def
abc\"def
abc"def
The text was updated successfully, but these errors were encountered:
rule "name test" "i can" salience 0 begin name="a\\" // 这样写,是给name赋值为a\\了,理解为最外层的双引号中的字符串是没转义,写的是什么就是什么 //如果想要给name赋值为a\,规则写成name="a\",在规则编译是报错:build rule from string err: [line 6:8 mismatched input '60' expecting END。 // 现有的引擎无法满足此种需求。望作者改进,谢谢。 end
Sorry, something went wrong.
支持字符串转义吗?比如支持 ` 替代外层的“
No branches or pull requests
外部获取 name 的值时 print 出来 为
abc\"def
而不是abc"def
The text was updated successfully, but these errors were encountered: